diff --git a/dom0/qvm-core/qubesutils.py b/dom0/qvm-core/qubesutils.py index f30f02f6..d84b7a8b 100644 --- a/dom0/qvm-core/qubesutils.py +++ b/dom0/qvm-core/qubesutils.py @@ -1036,7 +1036,7 @@ def backup_do_copy(appvm, base_backup_dir, files_to_backup, progress_callback = progress_callback(progress) dest_dir = backup_dir + '/' + file["subdir"] if file["subdir"] != "": - retcode = vm.run("mkdir -p " + dest_dir) + retcode = vm.run("mkdir -p " + dest_dir, wait = True) if retcode != 0: raise QubesException("Cannot create directory: {0}?!".format(dest_dir))