diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2017-09-28 08:24:24 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2017-10-03 15:01:38 +0200 |
commit | 55053d116a79d681dc10d0e905371533e1a43299 (patch) | |
tree | e264139fecee13da319c4759e34714976bd17894 | |
parent | fec995ab483a4fc6b2859d199d211c25b6661ff7 (diff) | |
download | petrific-55053d116a79d681dc10d0e905371533e1a43299.tar.gz petrific-55053d116a79d681dc10d0e905371533e1a43299.tar.bz2 petrific-55053d116a79d681dc10d0e905371533e1a43299.zip |
Fix not creating subdirectories on a real filesystem
-rw-r--r-- | backup/restore.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backup/restore.go b/backup/restore.go index 3a384a9..7624e1e 100644 --- a/backup/restore.go +++ b/backup/restore.go @@ -82,7 +82,7 @@ func RestoreDir(s storage.Storage, id objects.ObjectId, root fs.Dir) error { return err } } - } else if err != os.ErrNotExist { + } else if !os.IsNotExist(err) { return err } |