From 3548a44db1df9a8f2312cd1a5323464dada6f6c2 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 25 Jun 2020 20:23:02 -0400 Subject: session_begin(): Drop atexit parameter --- (limited to 'src/cmd') 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 -- cgit v0.9.1