mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Unreverse apply prompt actions
This commit is contained in:
@@ -49,9 +49,9 @@ def check_apply(args: dict, prompt: bool = True):
|
||||
while answer.lower() not in [ 'y', 'n', '' ]:
|
||||
answer = input(message)
|
||||
if answer.lower() in [ 'n', '' ]:
|
||||
return subprocess.run(cmd_arr)
|
||||
else:
|
||||
return 0
|
||||
else:
|
||||
return subprocess.run(cmd_arr)
|
||||
else:
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user