Commit 2086b56a authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

scripts: print an error message if one or scripts failed

Signed-off-by: 's avatarAndrew Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 5b56e20d
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment