mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +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', '' ]:
|
while answer.lower() not in [ 'y', 'n', '' ]:
|
||||||
answer = input(message)
|
answer = input(message)
|
||||||
if answer.lower() in [ 'n', '' ]:
|
if answer.lower() in [ 'n', '' ]:
|
||||||
return subprocess.run(cmd_arr)
|
|
||||||
else:
|
|
||||||
return 0
|
return 0
|
||||||
|
else:
|
||||||
|
return subprocess.run(cmd_arr)
|
||||||
else:
|
else:
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user