diff options
Diffstat (limited to 'src/session.sh')
-rw-r--r-- | src/session.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/session.sh b/src/session.sh index 83198f6..32400ce 100644 --- a/src/session.sh +++ b/src/session.sh @@ -213,7 +213,8 @@ session_exec() args="${args} ${arg}" done session_dir="/prokit/sessions/${session_id}/wd" - chroot "${session_root}" /bin/sh -c "cd ${session_dir}; ${args}" + chroot "${session_root}" /bin/sh -c "cd ${session_dir}; ${args}" || \ + return ${?} - return ${?} + return 0 } |