summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2010-06-22 12:10:53 +0200
committermaximilian attems <maks@debian.org>2010-06-22 12:10:53 +0200
commitc327689d1a2f1620e63f0f5fb8264e106444c644 (patch)
tree60f8dc7e471c225bf05ed999b3922e91a6a88ba2
parent295bca71a41b7df7b61a426fdd5bf8bf0a21281f (diff)
downloadinitramfs-tools-c327689d1a2f1620e63f0f5fb8264e106444c644.tar.gz
initramfs-tools-c327689d1a2f1620e63f0f5fb8264e106444c644.zip
update-initramfs: run_bootloader() return after zipl and flash-kernel
Spotted by mika, that those returns where missing. Signed-off-by: maximilian attems <maks@debian.org>
-rwxr-xr-xupdate-initramfs2
1 files changed, 2 insertions, 0 deletions
diff --git a/update-initramfs b/update-initramfs
index f4323b7..909e359 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
}