mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-10 00:05:27 +02:00
[fix] Unreverse apply prompt actions
This commit is contained in:
1 file changed
+2
-2
@@ -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