diff options
Diffstat (limited to 'src/session.sh')
-rw-r--r-- | src/session.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/session.sh b/src/session.sh index 5390cf3..2ddf6ff 100644 --- a/src/session.sh +++ b/src/session.sh @@ -80,6 +80,8 @@ session_begin() "${session_root}/prokit/sessions/${session_id}/wd" mutex_unlock "${session_root}/prokit/sessions.lock" + + return 0 } session_end() @@ -113,6 +115,8 @@ session_end() mutex_unlock "${session_root}/prokit/sessions.lock" trap - ${session_sigs} + + return 0 } session_id() @@ -139,6 +143,8 @@ session_exec() done session_dir="/prokit/sessions/${session_id}/wd" chroot "${session_root}" /bin/sh -c "cd ${session_dir}; ${args}" + + return ${?} } session_mount() |