From 1e5527e3e2db11489b16fa232eeb42151b66edd5 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 6 Mar 2009 10:30:36 +0100 Subject: [PATCH] fail, if install failed --- dracut-functions | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dracut-functions b/dracut-functions index 7e13ee581..d38f99074 100755 --- a/dracut-functions +++ b/dracut-functions @@ -186,7 +186,11 @@ inst_hook() { dracut_install() { while (($# > 0)); do - inst "$1" && shift + if inst "$1" ; then + shift + continue + fi + echo "Failed to install $1" >&2 ; exit 1 done } -- 2.47.3