summaryrefslogtreecommitdiffstats
path: root/src/cmd/install.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-01-23 14:35:06 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-01-23 14:35:06 (EST)
commit09dd0d5b8bc87d36be4b6637666fa81d41405697 (patch)
tree972f28281a423502e6bf3a3c6aad14d95a04db63 /src/cmd/install.sh
parentac643e5ca41743fc4fa320308648b1a8d90804e5 (diff)
cmd/install*: Fix return values
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}"