mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
criu-ns: Merge comparisons with 'in'
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
5f59a7cc35
commit
c10aae8f6e
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ action = sys.argv[1]
|
|||
|
||||
if action == 'restore':
|
||||
res = wrap_restore()
|
||||
elif action == 'dump' or action == 'pre-dump':
|
||||
elif action in ['dump', 'pre-dump']:
|
||||
res = wrap_dump()
|
||||
else:
|
||||
print('Unsupported action {} for nswrap'.format(action))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue