summaryrefslogtreecommitdiffstats
path: root/src/cmd/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/install.sh')
-rw-r--r--src/cmd/install.sh2
1 files changed, 1 insertions, 1 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}"