diff options
author | Jakob Unterwurzacher | 2016-06-15 23:17:51 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-06-15 23:17:51 +0200 |
commit | 09e88f31d1b4308bf82c7f4eb0dd83855ad67ffc (patch) | |
tree | e91a7ea9669fae9c633671ca5ca722fb97f2c254 /masterkey.go | |
parent | c89455063cfd9c531c0a671251ccfcd46f09403d (diff) |
toggledlog: assume command of color handling
We want to use colored error messages also outside of main,
so let's handle it in the logging package.
The fatal logger now automatically prints red.
Diffstat (limited to 'masterkey.go')
-rw-r--r-- | masterkey.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/masterkey.go b/masterkey.go index 5216f72..55da1ea 100644 --- a/masterkey.go +++ b/masterkey.go @@ -35,7 +35,7 @@ If the gocryptfs.conf file becomes corrupted or you ever forget your password, there is only one hope for recovery: The master key. Print it to a piece of paper and store it in a drawer. -`, colorGrey+hChunked+colorReset) +`, toggledlog.ColorGrey+hChunked+toggledlog.ColorReset) } // parseMasterKey - Parse a hex-encoded master key that was passed on the command line |