summaryrefslogtreecommitdiff
path: root/masterkey.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-06-15 23:17:51 +0200
committerJakob Unterwurzacher2016-06-15 23:17:51 +0200
commit09e88f31d1b4308bf82c7f4eb0dd83855ad67ffc (patch)
treee91a7ea9669fae9c633671ca5ca722fb97f2c254 /masterkey.go
parentc89455063cfd9c531c0a671251ccfcd46f09403d (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.go2
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