summaryrefslogtreecommitdiff
path: root/arch/sparc/boot/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/boot/install.sh')
-rwxr-xr-xarch/sparc/boot/install.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/boot/install.sh b/arch/sparc/boot/install.sh
index 4f130f3f30d6..68de67c5621e 100755
--- a/arch/sparc/boot/install.sh
+++ b/arch/sparc/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