..yeah, but you are calling it.
Let's say I have a script called tester that calls a script named script2...
Code:
# cat tester
/opt/script2
#
Now, script2 has a syntax error; in this case, ommited the "fi" at the end of it.
Code:
# cat /opt/script2
COUNT=0
if (( ${COUNT} < 3 )); then
echo "is bigger"
else
#
If I run tester, I get:
Code:
# ./tester
/opt/script2[2]: syntax error at line 4 : `else' unmatched
#
I don't see an if/then statement in your script, so it must be from catalina.sh, or something else catalina.sh is calling.