From: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx> In case exec fails, fall through and print warning rather than just calling exit(1) silently. Signed-off-by: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx> --- util.c | 1 - 1 file changed, 1 deletion(-) diff --git a/util.c b/util.c index 500b2bd..68fd27e 100644 --- a/util.c +++ b/util.c @@ -1705,7 +1705,6 @@ int start_mdmon(int devnum) } } } - exit(1); case -1: pr_err("cannot run mdmon. " "Array remains readonly\n"); return -1; -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html