I have a script that runs fine when I add the "bash" in front of it,
bash ./myscript.sh /opt/config/run.config
but when I don't it stops at the below line and exits.
No problems when I append the bash in front of the command.
Is there anything in the environment variables that I have missed as I'm setting up a new box. The same script doesn't have any issues on the older boxes.