aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-06-24 19:51:05 +0200
committerJakob Unterwurzacher2018-06-24 19:52:47 +0200
commit743c7705b21575fe97e5da5722ec344c76badd60 (patch)
tree5adbcb65cd381e5beb93d76ed8187a376324032b /internal
parent1bab400fcafb17e33dfc5098634cb1a336546d4f (diff)
configfile: use tlog.ColorYellow instead of hardcoded color code
Diffstat (limited to 'internal')
-rw-r--r--internal/configfile/config_file.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/configfile/config_file.go b/internal/configfile/config_file.go
index 753dd72..0d5e545 100644
--- a/internal/configfile/config_file.go
+++ b/internal/configfile/config_file.go
@@ -158,7 +158,7 @@ func LoadConfFile(filename string, password []byte) ([]byte, *ConfFile, error) {
}
}
if deprecatedFs {
- fmt.Fprintf(os.Stderr, "\033[33m"+`
+ fmt.Fprintf(os.Stderr, tlog.ColorYellow+`
The filesystem was created by gocryptfs v0.6 or earlier. This version of
gocryptfs can no longer mount the filesystem.
Please download gocryptfs v0.11 and upgrade your filesystem,
@@ -167,7 +167,7 @@ func LoadConfFile(filename string, password []byte) ([]byte, *ConfFile, error) {
If you have trouble upgrading, join the discussion at
https://github.com/rfjakob/gocryptfs/issues/29 .
-`+"\033[0m")
+`+tlog.ColorReset)
return nil, nil, exitcodes.NewErr("Deprecated filesystem", exitcodes.DeprecatedFS)
}