From 1b0426bcb23a1850f3a03619a15413281dc733e3 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 15 Nov 2017 20:30:21 +0100 Subject: main: print clear error message if CIPHERDIR is missing Getting just the help text in response to gocryptfs -info -config external.config is confusing: https://github.com/rfjakob/gocryptfs/issues/157 --- info.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'info.go') diff --git a/info.go b/info.go index c2e0038..b6f041f 100644 --- a/info.go +++ b/info.go @@ -20,7 +20,7 @@ func info(filename string) { // Read from disk js, err := ioutil.ReadFile(filename) if err != nil { - tlog.Fatal.Printf("info: ReadFile: %#v\n", err) + tlog.Fatal.Printf("Reading config file failed: %v", err) os.Exit(exitcodes.LoadConf) } // Unmarshal -- cgit v1.2.3