Added confirmation to sfc_scan.py
* Should help avoiding undesired scans
This commit is contained in:
parent
0416f83448
commit
2ddb878b54
1 changed files with 5 additions and 2 deletions
|
|
@ -23,8 +23,11 @@ if __name__ == '__main__':
|
||||||
'Warning': {
|
'Warning': {
|
||||||
'GenericRepair': 'Repaired',
|
'GenericRepair': 'Repaired',
|
||||||
}}
|
}}
|
||||||
try_and_print(message='SFC scan...',
|
if ask('Run a SFC scan now?'):
|
||||||
function=run_sfc_scan, other_results=other_results)
|
try_and_print(message='SFC scan...',
|
||||||
|
function=run_sfc_scan, other_results=other_results)
|
||||||
|
else:
|
||||||
|
abort()
|
||||||
|
|
||||||
# Done
|
# Done
|
||||||
print_standard('\nDone.')
|
print_standard('\nDone.')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue