diff options
author | Jakob Unterwurzacher | 2016-06-01 20:07:43 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-06-01 20:07:43 +0200 |
commit | 80b027f830ba5d9e5bf2514462208fcea573c388 (patch) | |
tree | 4970262b65463c48c355a91fb865c63d9afde531 /main.go | |
parent | 4c5365d1614bce6a67404f1abaa6a4efa23c39b6 (diff) |
nametransform, main: better error messages
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -101,7 +101,7 @@ func loadConfig(args *argContainer) (masterkey []byte, confFile *configfile.Conf // Check if the file exists at all before prompting for a password _, err := os.Stat(args.config) if err != nil { - fmt.Println(err) + fmt.Printf(colorRed+"Config file not found: %v\n"+colorReset, err) os.Exit(ERREXIT_LOADCONF) } if args.extpass == "" { |