mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 10:16:41 +00:00
scripts: print an error message if one or scripts failed
Signed-off-by: Andrew Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
5b56e20d7d
commit
2086b56a67
1 changed files with 2 additions and 0 deletions
|
|
@ -55,6 +55,8 @@ int run_scripts(enum script_actions act)
|
|||
}
|
||||
|
||||
unsetenv("CRTOOLS_SCRIPT_ACTION");
|
||||
if (ret)
|
||||
pr_err("One of more action scripts failed\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue