summaryrefslogtreecommitdiffstats
path: root/src/cmd
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-06-25 20:23:02 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-06-25 20:23:02 (EDT)
commit3548a44db1df9a8f2312cd1a5323464dada6f6c2 (patch)
tree22b96fbe7586092005f31e5230d1121e4c5f92c6 /src/cmd
parentc773de28b221c85159e4a715abd25ae7c39bc39c (diff)
session_begin(): Drop atexit parameter
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