commit 2d1ebe9ff31985490e19ae4c3caaa165c725d21e
parent 057b6315f855f58515a4881cc5709bff30e57ce8
Author: Michael Savage <mikejsavage@gmail.com>
Date: Sat, 21 Feb 2015 14:16:33 +0000
Re-add chmod text to pdb init
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -53,7 +53,6 @@ itself for a full list).
An example session:
$ pdb init
- Initialized empty password db in /home/mike/.pdb/
You should chmod 600 /home/mike/.pdb/key2
$ pdb add test
Enter a password for test: fdsa
diff --git a/src/main.lua b/src/main.lua
@@ -121,6 +121,8 @@ if cmd == "init" then
return os.exit( 1 )
end
+ print( "You should chmod 600 " .. paths.key )
+
return os.exit( 0 )
end