mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
Use list for checking multiple possible values
This commit is contained in:
parent
69b0adead1
commit
3da4898753
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ def run_firejail(program, allArgs):
|
|||
print('Running with', arg)
|
||||
subprocess.call(goodArgs)
|
||||
ans = input('Did %s run correctly? [y]/n ' % program)
|
||||
if ans == 'n' or ans == 'N':
|
||||
if ans in ['n', 'N']:
|
||||
badArgs.append(arg)
|
||||
else:
|
||||
goodArgs.insert(-1, arg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue