summaryrefslogtreecommitdiff
path: root/internal/exitcodes/exitcodes.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-05-14 14:30:50 +0200
committerJakob Unterwurzacher2017-05-14 14:30:50 +0200
commitc44389d9422f31e0b462d1bcd47f80e95913cb60 (patch)
tree367e361b99e10a565674bfeb510602af60637920 /internal/exitcodes/exitcodes.go
parent2aea2d3d62e5df4c8bf25195dc97e60b495f6f12 (diff)
exitcodes: specific codes for failure to read or write gocryptfs.conf
New codes: * OpenConf = 23 * WriteConf = 24
Diffstat (limited to 'internal/exitcodes/exitcodes.go')
-rw-r--r--internal/exitcodes/exitcodes.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/exitcodes/exitcodes.go b/internal/exitcodes/exitcodes.go
index 3e78b64..ae7824d 100644
--- a/internal/exitcodes/exitcodes.go
+++ b/internal/exitcodes/exitcodes.go
@@ -53,6 +53,10 @@ const (
PanicLogCreate = 21
// PasswordEmpty - we received an empty password
PasswordEmpty = 22
+ // OpenConf - the was an error opening the gocryptfs.conf file for reading
+ OpenConf = 23
+ // WriteConf - could not write the gocryptfs.conf
+ WriteConf = 24
)
// Err wraps an error with an associated numeric exit code