summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-01-17 14:05:11 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-01-17 14:05:11 (EST)
commitb8f8662d9b895cd32b05d755d2b33997ecdb6ffb (patch)
treec4858feed195df9258285a03adbdb7eefdc3dc54 /src
parent6d334b40f46fec7bb54e3bd68c1e0ceb8eb33de2 (diff)
cmd/*: Return 0 on success
Diffstat (limited to 'src')
-rw-r--r--src/cmd/build.sh2
-rw-r--r--src/cmd/install.sh2
-rw-r--r--src/cmd/installer-pc.sh2
-rw-r--r--src/cmd/mkinitramfs.sh2
-rw-r--r--src/cmd/opkg.sh2
-rw-r--r--src/cmd/shell.sh2
6 files changed, 12 insertions, 0 deletions
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()