Bugfix: wimlib sections

This commit is contained in:
Alan Mason 2017-12-01 18:31:06 -08:00
parent ffa2abb2b4
commit c52681be05
2 changed files with 4 additions and 4 deletions

View file

@ -16,12 +16,12 @@ def backup_partition(disk, par):
cmd = [
global_vars['Tools']['wimlib-imagex'],
'capture'
'capture',
'{}:\\'.format(par['Letter']),
par['Image Path'],
par['Image Name'], # Image name
par['Image Name'], # Image description
' --compress=none',
'--compress=none',
]
dest_dir = re.sub(r'(.*)\\.*$', r'\1', par['Image Path'], re.IGNORECASE)
os.makedirs(dest_dir, exist_ok=True)
@ -142,7 +142,7 @@ def verify_wim_backup(partition):
global_vars['Tools']['wimlib-imagex'],
'verify',
partition['Image Path'],
' --nocheck',
'--nocheck',
]
run_program(cmd)

View file

@ -144,7 +144,7 @@ def menu_backup():
other_results = other_results,
disk = disk,
par = par)
if not result['CS']:
if not result['CS'] and not isinstance(result['Error'], GenericAbort):
errors = True
par['Error'] = result['Error']