aboutsummaryrefslogtreecommitdiff
path: root/internal/configfile/config_file.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-04-02 18:43:50 +0200
committerJakob Unterwurzacher2018-04-02 18:43:50 +0200
commita0fd3eca98218aa7d165080ab20cf234330e5e09 (patch)
tree08ea2eae6946f26316576af043fba428f37da14c /internal/configfile/config_file.go
parentb6c8960b01f9e5366814b0dada57a0b1e6a031d9 (diff)
fsck: test against example_filesystems
Diffstat (limited to 'internal/configfile/config_file.go')
-rw-r--r--internal/configfile/config_file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/configfile/config_file.go b/internal/configfile/config_file.go
index 3fd16c7..753dd72 100644
--- a/internal/configfile/config_file.go
+++ b/internal/configfile/config_file.go
@@ -169,7 +169,7 @@ func LoadConfFile(filename string, password []byte) ([]byte, *ConfFile, error) {
`+"\033[0m")
- return nil, nil, fmt.Errorf("Deprecated filesystem")
+ return nil, nil, exitcodes.NewErr("Deprecated filesystem", exitcodes.DeprecatedFS)
}
if len(password) == 0 {
// We have validated the config file, but without a password we cannot