A coworker and I discovered an issue with jboss’ run.sh (which starts the app server). The problem lies in different flavours of unix (or unix-like) shells returning different values for wait.
The relevant code is:
# Wait until the background process exits
WAIT_STATUS=0
[...]













