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': { '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.')