summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boot/install.sh')
-rwxr-xr-xarch/x86/boot/install.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/boot/install.sh b/arch/x86/boot/install.sh
index 0849f4b42745..93784abcd66d 100755
--- a/arch/x86/boot/install.sh
+++ b/arch/x86/boot/install.sh
@@ -16,6 +16,8 @@
# $3 - kernel map file
# $4 - default install path (blank if root directory)
+set -e
+
if [ -f $4/vmlinuz ]; then
mv $4/vmlinuz $4/vmlinuz.old
fi