mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
if -i, either success or failure must be present
This commit is contained in:
@@ -41,8 +41,12 @@ def fail(msg):
|
||||
|
||||
|
||||
def check_installation_status(options, console):
|
||||
if "-i" in options and os.path.isfile('/root/failure'):
|
||||
if "-i" in options:
|
||||
if os.path.isfile('/root/failure'):
|
||||
return 100
|
||||
if os.path.isfile('/root/success'):
|
||||
return 0
|
||||
return 99
|
||||
return 0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user