From 2086b56a67e85fdbee4cbeddb069384f1c1e2b21 Mon Sep 17 00:00:00 2001 From: Andrew Vagin Date: Tue, 27 Oct 2015 11:19:00 +0300 Subject: [PATCH] scripts: print an error message if one or scripts failed Signed-off-by: Andrew Vagin Signed-off-by: Pavel Emelyanov --- action-scripts.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action-scripts.c b/action-scripts.c index e37bafd8f..3a6e8015b 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; }