From b8f8662d9b895cd32b05d755d2b33997ecdb6ffb Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 17 Jan 2016 14:05:11 -0500 Subject: cmd/*: Return 0 on success --- (limited to 'src') diff --git a/src/cmd/build.sh b/src/cmd/build.sh index 19350c3..a366a01 100644 --- a/src/cmd/build.sh +++ b/src/cmd/build.sh @@ -103,6 +103,8 @@ cmd_build_main() session_end [ "x${dev}" != 'x' ] && block_umount "${root}" + + return 0 } cmd_build_make_deps_pkg() diff --git a/src/cmd/install.sh b/src/cmd/install.sh index 38310b0..8d75e2c 100644 --- a/src/cmd/install.sh +++ b/src/cmd/install.sh @@ -74,6 +74,8 @@ cmd_install_main() "${root}" "${foreign}" [ "x${dev}" != 'x' ] && block_umount "${root}" + + return 0 } cmd_install_register() diff --git a/src/cmd/installer-pc.sh b/src/cmd/installer-pc.sh index 0a87b88..f118eae 100644 --- a/src/cmd/installer-pc.sh +++ b/src/cmd/installer-pc.sh @@ -89,6 +89,8 @@ cmd_installer_pc_main() fi block_umount "${root}" + + return 0 } cmd_installer_pc_make_partition_and_fs() diff --git a/src/cmd/mkinitramfs.sh b/src/cmd/mkinitramfs.sh index 52689a8..41e6327 100644 --- a/src/cmd/mkinitramfs.sh +++ b/src/cmd/mkinitramfs.sh @@ -77,6 +77,8 @@ cmd_mkinitramfs_main() >"${initramfs_output}" [ "x${dev}" != 'x' ] && block_umount "${root}" + + return 0 } cmd_mkinitramfs_register() diff --git a/src/cmd/opkg.sh b/src/cmd/opkg.sh index 93ab7aa..e6a304f 100644 --- a/src/cmd/opkg.sh +++ b/src/cmd/opkg.sh @@ -93,6 +93,8 @@ cmd_opkg_main() session_end [ "x${dev}" != 'x' ] && block_umount "${root}" + + return 0 } cmd_opkg_fini() diff --git a/src/cmd/shell.sh b/src/cmd/shell.sh index 5da84e4..314b79b 100644 --- a/src/cmd/shell.sh +++ b/src/cmd/shell.sh @@ -55,6 +55,8 @@ cmd_shell_main() session_end [ "x${dev}" != 'x' ] && block_umount "${root}" + + return 0 } cmd_shell_register() -- cgit v0.9.1