Skip to content

Commit 9952998

Browse files
committed
Fix checking for no-snapshot volumes before doing the backup
Reported by @alimirjamali
1 parent 929dce2 commit 9952998

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

qubes/backup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ async def backup_do(self):
836836

837837
# VM running private volumes without snapshoting them
838838
# (revision_to_keep = -1) must be powered off to be backup
839-
if backup_app.domains[qid].is_running:
839+
if backup_app.domains[qid].is_running():
840840
for volume in backup_app.domains[qid].volumes.values():
841841
if volume.snapshots_disabled:
842842
raise qubes.exc.QubesVMNotHaltedError(

0 commit comments

Comments
 (0)