summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cmd/install.sh2
-rw-r--r--src/cmd/installer-pc.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/install.sh b/src/cmd/install.sh
index d32f488..638cbd1 100644
--- a/src/cmd/install.sh
+++ b/src/cmd/install.sh
@@ -73,7 +73,7 @@ cmd_install_main()
"${cmd_install_opt_a-}" "${cmd_install_opt_p-}" \
"${root}" "${foreign}"; then
[ "x${dev}" != 'x' ] && block_umount "${root}"
- return 1
+ return 2
fi
[ "x${dev}" != 'x' ] && block_umount "${root}"
diff --git a/src/cmd/installer-pc.sh b/src/cmd/installer-pc.sh
index 595e9c9..848af10 100644
--- a/src/cmd/installer-pc.sh
+++ b/src/cmd/installer-pc.sh
@@ -79,7 +79,7 @@ cmd_installer_pc_main()
"${cmd_installer_pc_opt_p-}" \
"${root}" false; then
block_umount "${root}"
- return 1
+ return 2
fi
if [ -f "${root}/sbin/lilo" ]; then