mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-16 07:15:49 +01:00
sysrc: Add exit code check and return
This commit is contained in:
@@ -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
|
||||
wait
|
||||
|
||||
bastille_return_exit_code
|
||||
|
||||
Reference in New Issue
Block a user