Merge branch 'bug2986'
This commit is contained in:
commit
3c9e5f6630
@ -869,6 +869,7 @@ class BackupRestore(object):
|
||||
|
||||
tar1_command = ['tar',
|
||||
'-ixv',
|
||||
'--occurrence=1',
|
||||
'-C', self.tmpdir] + filelist
|
||||
|
||||
tar1_env = os.environ.copy()
|
||||
@ -1696,7 +1697,7 @@ class BackupRestore(object):
|
||||
subprocess.check_call(
|
||||
['qvm-appmenus', '--set-whitelist=-', vm.name],
|
||||
stdin=stream)
|
||||
except subprocess.CalledProcessError:
|
||||
except (subprocess.CalledProcessError, FileNotFoundError):
|
||||
self.log.error('Failed to set application list for %s', vm.name)
|
||||
|
||||
def _handle_volume_data(self, vm, volume, stream):
|
||||
|
Loading…
Reference in New Issue
Block a user