diff --git a/usr/local/share/bastille/sysrc.sh b/usr/local/share/bastille/sysrc.sh index bccd72c5..8f0e0763 100644 --- a/usr/local/share/bastille/sysrc.sh +++ b/usr/local/share/bastille/sysrc.sh @@ -103,9 +103,13 @@ for _jail in ${JAILS}; do jexec -l "${_jail}" /usr/sbin/sysrc "$@" + bastille_check_exit_code "${_jail}" "$?" + ) & bastille_running_jobs "${bastille_process_limit}" done -wait \ No newline at end of file +wait + +bastille_return_exit_code