Permalink
Browse files

One too much w

  • Loading branch information...
1 parent e996ec2 commit 1742b2aba5d1d7d9e95c40d069c62321436ff47b @jvelo jvelo committed Aug 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 var/lib/xinit/functions
View
@@ -5,7 +5,7 @@ start_tomcat ()
{
log "INFO" "Starting Tomcat Server ..."
- if [[ -z "`ps auxwww | grep ${TOMCAT_PROCESS_NAME} | grep ${TOMCAT_HOME} | awk '{print $2}'`" ]]; then
+ if [[ -z "`ps auxww | grep ${TOMCAT_PROCESS_NAME} | grep ${TOMCAT_HOME} | awk '{print $2}'`" ]]; then
if [[ -e "$CATALINA_PID" ]]; then
@@ -60,7 +60,7 @@ stop_tomcat ()
TOMCAT_PID="`cat $CATALINA_PID`"
else
- TOMCAT_PID="`ps auxwww | grep ${TOMCAT_PROCESS_NAME} | grep ${TOMCAT_HOME} | awk '{print $2}'`"
+ TOMCAT_PID="`ps auxww | grep ${TOMCAT_PROCESS_NAME} | grep ${TOMCAT_HOME} | awk '{print $2}'`"
fi
if [[ -n "$TOMCAT_PID" ]]; then

0 comments on commit 1742b2a

Please sign in to comment.