From 09dd0d5b8bc87d36be4b6637666fa81d41405697 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 23 Jan 2016 14:35:06 -0500 Subject: cmd/install*: Fix return values --- (limited to 'src/cmd') 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 -- cgit v0.9.1