[tomcat] use grep return code for "catalina.sh version" not supported case