summaryrefslogtreecommitdiff
path: root/init_dir.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-09-28 20:47:01 +0200
committerJakob Unterwurzacher2016-09-28 20:47:01 +0200
commit35fb6583e6bc5547ec72c00edbc3f53b55587b48 (patch)
tree04d0dfab53e8b725335af04bc06dad1e6e9c2479 /init_dir.go
parent4b934f1a728b0049d2507b9ae4df948078ea88ba (diff)
main: get rid of duplicate "extpass" message
$ gocryptfs -init -extpass "echo test" a Using password provided via -extpass. <<< DUPLICATE Reading password from extpass program The gocryptfs filesystem has been created successfully. You can now mount it using: gocryptfs a MOUNTPOINT
Diffstat (limited to 'init_dir.go')
-rw-r--r--init_dir.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/init_dir.go b/init_dir.go
index 9401d19..7f3d333 100644
--- a/init_dir.go
+++ b/init_dir.go
@@ -34,8 +34,6 @@ func initDir(args *argContainer) {
// Choose password for config file
if args.extpass == "" {
tlog.Info.Printf("Choose a password for protecting your files.")
- } else {
- tlog.Info.Printf("Using password provided via -extpass.")
}
password := readpassword.Twice(args.extpass)
creator := tlog.ProgramName + " " + GitVersion