sysrc: Add exit code check and return

This commit is contained in:
tschettervictor
2025-06-22 11:35:09 -06:00
committed by GitHub
parent 3f32fd1864
commit d5d4fdd589

View File

@@ -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