Hi,
Thanks for the comment rhinoau.
In fact we managed to resolve the issue, by modifying the code of the script.
We changed the way the command was run by modifying the following lines (in case someone else runs into the same issue):
BIN_RADCLIENT="$(echo “/usr/local/bin/radclient” -x localhost:18121 status adminsecret)"
RESULT=$(echo “$RADIUS_STATUS_CMD” | $BIN_RADCLIENT)