suggestion from review
This commit is contained in:
parent
0f78185b9a
commit
64ad6514a3
|
@ -78,10 +78,10 @@ class StorageChecker:
|
||||||
def main():
|
def main():
|
||||||
storage_checker = StorageChecker()
|
storage_checker = StorageChecker()
|
||||||
|
|
||||||
final_checks = True
|
root_mount = True
|
||||||
|
|
||||||
if sys.argv[1:2] == ['--no-root-mount']:
|
if sys.argv[1:2] == ['--no-root-mount']:
|
||||||
final_checks = False
|
root_mount = False
|
||||||
sys.argv.pop(1)
|
sys.argv.pop(1)
|
||||||
|
|
||||||
actions = []
|
actions = []
|
||||||
|
@ -96,7 +96,7 @@ def main():
|
||||||
print('checking {} failed'.format(action))
|
print('checking {} failed'.format(action))
|
||||||
raise
|
raise
|
||||||
|
|
||||||
if final_checks:
|
if root_mount:
|
||||||
storage_checker.final_checks()
|
storage_checker.final_checks()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue