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