summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Prokop <mika@debian.org>2010-07-09 14:50:06 +0200
committerMichael Prokop <mika@debian.org>2010-07-09 14:50:06 +0200
commitb65a48670ef4ec22dd7801ad377ce19741f2387a (patch)
tree7cec3153effa355b1ec655a20562ae70b261b805
parentb2e690b320063af6d11887bfed4119938e85aa51 (diff)
downloadinitramfs-tools-b65a48670ef4ec22dd7801ad377ce19741f2387a.tar.gz
initramfs-tools-b65a48670ef4ec22dd7801ad377ce19741f2387a.zip
update-initramfs: stop buildprocess if any script is failing
Signed-off-by: Michael Prokop <mika@debian.org>
-rwxr-xr-xupdate-initramfs3
1 files changed, 0 insertions, 3 deletions
diff --git a/update-initramfs b/update-initramfs
index 909e359..a685241 100755
--- a/update-initramfs
+++ b/update-initramfs
@@ -504,11 +504,8 @@ if [ "${version}" = "all" ] \
OPTS="${OPTS} -y"
fi
for u_version in ${version_list}; do
- # Don't stop if one version doesn't work.
- set +e
verbose "Execute: ${0} -${mode} -k \"${u_version}\" ${OPTS}"
"${0}" -${mode} -k "${u_version}" ${OPTS}
- set -e
done
exit 0
fi