fix(xo-server/backup NG): fix issues due to fs changes

This commit is contained in:
Julien Fontanet 2018-12-17 17:58:27 +01:00
parent c450685ddd
commit 82253509d0

View File

@ -1518,6 +1518,7 @@ export default class BackupNg {
}))
.sort()
.pop()
.slice(1) // remove leading slash
// ensure parent exists and is a valid VHD
await new Vhd(handler, parentPath).readHeaderAndFooter()