backups: fix restore in non-debug mode

This commit is contained in:
Marek Marczykowski-Górecki 2013-11-27 03:20:45 +01:00
parent 105428accb
commit c8b8cd0d1f

View File

@ -791,7 +791,7 @@ def restore_vm_dirs (backup_source, restore_tmpdir, passphrase, vms_dirs, vms,
backup_stdin = open(backup_source,'rb')
tar1_command = ['tar',
'-ix%sf' % ("v" if BACKUP_DEBUG else ""), backup_source,
'-ixvf', backup_source,
'-C', restore_tmpdir] + vms_dirs
tar1_env = os.environ.copy()