Updated system_diagnostics.py
This commit is contained in:
parent
e7c519f605
commit
08ded5311f
1 changed files with 3 additions and 2 deletions
|
|
@ -125,9 +125,10 @@ if __name__ == '__main__':
|
||||||
result = try_and_print(message='SFC scan...',
|
result = try_and_print(message='SFC scan...',
|
||||||
function=run_sfc_scan, other_results=other_results)
|
function=run_sfc_scan, other_results=other_results)
|
||||||
system_ok &= check_result(result, other_results)
|
system_ok &= check_result(result, other_results)
|
||||||
if D7_MODE and global_vars['OS']['Version'] in ('8', '8.1', '10'):
|
if D7_MODE:
|
||||||
result = try_and_print(message='DISM RestoreHealth...',
|
result = try_and_print(message='DISM RestoreHealth...',
|
||||||
function=run_dism, other_results=other_results, repair=True)
|
function=run_dism, other_results=other_results, repair=True)
|
||||||
|
if global_vars['OS']['Version'] in ('8', '8.1', '10'):
|
||||||
system_ok &= check_result(result, other_results)
|
system_ok &= check_result(result, other_results)
|
||||||
else:
|
else:
|
||||||
try_and_print(message='DISM CheckHealth...',
|
try_and_print(message='DISM CheckHealth...',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue