summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.go b/main.go
index 6467b4b..6ed9271 100644
--- a/main.go
+++ b/main.go
@@ -122,10 +122,7 @@ func loadConfig(args *argContainer) (masterkey []byte, confFile *configfile.Conf
pw := readpassword.Once(args.extpass)
tlog.Info.Println("Decrypting master key")
masterkey, confFile, err = configfile.LoadConfFile(args.config, pw)
- if _, ok := err.(configfile.DeprecatedFsError); ok {
- // Force read-only mode
- args.ro = true
- } else if err != nil {
+ if err != nil {
tlog.Fatal.Println(err)
os.Exit(ERREXIT_LOADCONF)
}