diff options
author | Jakob Unterwurzacher | 2017-11-15 20:30:21 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-11-15 20:30:21 +0100 |
commit | 1b0426bcb23a1850f3a03619a15413281dc733e3 (patch) | |
tree | 6b809a40dd833f5b7b699bfb98cc7cc639b7d433 /info.go | |
parent | e36a0ebf189a826aaa63909c5518c16356f5f903 (diff) |
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
Diffstat (limited to 'info.go')
-rw-r--r-- | info.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |