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': {
|
||||
'GenericRepair': 'Repaired',
|
||||
}}
|
||||
try_and_print(message='SFC scan...',
|
||||
function=run_sfc_scan, other_results=other_results)
|
||||
if ask('Run a SFC scan now?'):
|
||||
try_and_print(message='SFC scan...',
|
||||
function=run_sfc_scan, other_results=other_results)
|
||||
else:
|
||||
abort()
|
||||
|
||||
# Done
|
||||
print_standard('\nDone.')
|
||||
|
|
|
|||
Loading…
Reference in a new issue