dom0: fix directory creation
This commit is contained in:
parent
7cacc3db48
commit
246e8c383d
@ -1035,7 +1035,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(["qvm-run", "-p", appvm, "mkdir -p " + dest_dir])
|
||||
retcode = vm.run("mkdir -p " + dest_dir)
|
||||
if retcode != 0:
|
||||
raise QubesException("Cannot create directory: {0}?!".format(dest_dir))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user