diff options
author | Jakob Unterwurzacher | 2016-06-19 20:01:04 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-06-19 20:01:04 +0200 |
commit | f0b4d2354ddd481eed6c6b26046fe6b4e04e5d7e (patch) | |
tree | 603d06b23820a6eb0164ba21a369ecbcb741ecd9 /main.go | |
parent | 1dcafb99ff91e5389263d6c59b7179fd5abef0a5 (diff) |
Refuse mounting of v0.6 and older filesystems
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) } |