diff --git a/@xen-orchestra/backups/_VmBackup.js b/@xen-orchestra/backups/_VmBackup.js index 7f65b7b81..8ff7cebbc 100644 --- a/@xen-orchestra/backups/_VmBackup.js +++ b/@xen-orchestra/backups/_VmBackup.js @@ -292,7 +292,7 @@ exports.VmBackup = class VmBackup { const presentBaseVdis = new Map(baseUuidToSrcVdi) const writers = this._writers for (const writer of this._writers) { - if (parentBaseVdis.size === 0) { + if (presentBaseVdis.size === 0) { break } await writer.checkBaseVdis(presentBaseVdis, baseVm)