From 35fb6583e6bc5547ec72c00edbc3f53b55587b48 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 28 Sep 2016 20:47:01 +0200 Subject: [PATCH] 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 --- init_dir.go | 2 -- 1 file changed, 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