Skip to content

Commit

Permalink
criu-ns: fix exit code o for criu dump
Browse files Browse the repository at this point in the history
Fixes: checkpoint-restore#1739

Reported-by: @PavloMykhailyshyn
Signed-off-by: Radostin Stoyanov <[email protected]>
  • Loading branch information
rst0git authored and avagin committed Apr 29, 2022
1 parent fdf4fda commit bb1b168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/criu-ns
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def wrap_dump():
criu_pid = os.fork()
if criu_pid == 0:
run_criu(sys.argv[1:])
return _wait_for_process_status(pid)
return _wait_for_process_status(criu_pid)


def show_usage():
Expand Down

0 comments on commit bb1b168

Please sign in to comment.