summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/tomcat6/files/tomcat6.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/tomcat6/files/tomcat6.in b/www/tomcat6/files/tomcat6.in
index 5183ef2cd5af..67f1db014e1f 100644
--- a/www/tomcat6/files/tomcat6.in
+++ b/www/tomcat6/files/tomcat6.in
@@ -168,7 +168,7 @@ tomcat_check_pidfile() {
debug "pid file ($_pidfile): no pid in file."
return
fi
- if [ -n "`/usr/bin/procstat -c $_pid | grep -e "^$_pid.*$java_class"`" ]; then
+ if [ -n "`/usr/bin/procstat -c $_pid | grep -e "^ *$_pid.*$java_class"`" ]; then
echo -n $_pid
fi
}