summaryrefslogtreecommitdiff
path: root/update-initramfs
diff options
context:
space:
mode:
Diffstat (limited to 'update-initramfs')
-rwxr-xr-xupdate-initramfs5
1 files changed, 2 insertions, 3 deletions
diff --git a/update-initramfs b/update-initramfs
index f4323b7..a685241 100755
--- a/update-initramfs
+++ b/update-initramfs
@@ -222,9 +222,11 @@ run_bootloader()
fi
if [ -r /etc/zipl.conf ]; then
zipl
+ return 0
fi
if flash-kernel --supported >/dev/null 2>&1; then
flash-kernel ${version}
+ return 0
fi
}
@@ -502,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