Added confirmation to sfc_scan.py

* Should help avoiding undesired scans
This commit is contained in:
Alan Mason 2017-11-22 20:06:56 -08:00
parent 0416f83448
commit 2ddb878b54

View file

@ -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.')