aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-06-01 20:07:43 +0200
committerJakob Unterwurzacher2016-06-01 20:07:43 +0200
commit80b027f830ba5d9e5bf2514462208fcea573c388 (patch)
tree4970262b65463c48c355a91fb865c63d9afde531 /main.go
parent4c5365d1614bce6a67404f1abaa6a4efa23c39b6 (diff)
nametransform, main: better error messages
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 83bd8d7..3f89368 100644
--- a/main.go
+++ b/main.go
@@ -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 == "" {