summaryrefslogtreecommitdiffstats
path: root/src/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/build.sh3
-rw-r--r--src/cmd/opkg.sh2
-rw-r--r--src/cmd/shell.sh2
3 files changed, 3 insertions, 4 deletions
diff --git a/src/cmd/build.sh b/src/cmd/build.sh
index 4679bc4..f768cba 100644
--- a/src/cmd/build.sh
+++ b/src/cmd/build.sh
@@ -135,8 +135,7 @@ cmd_build_main()
fi
package_set_substvars "${arch}" "${plat}"
- if ! session_begin "${root}" "${cmd_build_pkg_dir}" _cmd_build_fini \
- false; then
+ if ! session_begin "${root}" "${cmd_build_pkg_dir}" false; then
_cmd_build_fini
[ "x${dev}" != 'x' ] && block_umount "${root}"
return 2
diff --git a/src/cmd/opkg.sh b/src/cmd/opkg.sh
index 8444b3b..6a21f5f 100644
--- a/src/cmd/opkg.sh
+++ b/src/cmd/opkg.sh
@@ -98,7 +98,7 @@ cmd_opkg_main()
return 2
fi
- if ! session_begin "${root}" . _cmd_opkg_fini false; then
+ if ! session_begin "${root}" . false; then
_cmd_opkg_fini
[ "x${dev}" != 'x' ] && block_umount "${root}"
return 2
diff --git a/src/cmd/shell.sh b/src/cmd/shell.sh
index 2cc53ad..c49a57e 100644
--- a/src/cmd/shell.sh
+++ b/src/cmd/shell.sh
@@ -45,7 +45,7 @@ cmd_shell_main()
return 2
fi
- if ! session_begin "${root}" . : false; then
+ if ! session_begin "${root}" . false; then
[ "x${dev}" != 'x' ] && block_umount "${root}"
return 2
fi