[CRIU] [PATCH] scripts: print an error message if one or scripts failed
Andrey Vagin
avagin at openvz.org
Tue Oct 27 01:19:07 PDT 2015
From: Andrew Vagin <avagin at openvz.org>
Signed-off-by: Andrew Vagin <avagin at openvz.org>
---
action-scripts.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/action-scripts.c b/action-scripts.c
index e37bafd..3a6e801 100644
--- a/action-scripts.c
+++ b/action-scripts.c
@@ -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;
}
--
2.4.3
More information about the CRIU
mailing list