anchor.diff:      stop
       RETVAL=$?
   
  -    if [ "$RETVAL" == 0 ]; then
  +    if [ "$RETVAL" = 0 ]; then
         log_success_msg "Stopped tomcat-<%= name %>"
       else
         log_failure_msg "Not able to stop tomcat-<%= name %>"
  
positive.code: start() {
    isrunning
  
    if [ "$?" == 0 ]; then
      echo "tomcat-<%= name %> already running"
      return 0
    fi
  
negative.code: stop() {
    isrunning
  
    if [ "$?" = 1 ]; then
      echo "tomcat-<%= name %> already stopped"
      rm -f $CATALINA_PID # remove pidfile if still around
      return 0
  