diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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) } |