]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2491 fix Java Service Wrapper on Solaris
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 31 May 2011 16:31:55 +0000 (18:31 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 31 May 2011 16:32:02 +0000 (18:32 +0200)
sonar-application/src/main/assembly/bin/solaris-x86-32/sonar.sh

index 7b2d58a79357e8049436dc75335bddcbed46b679..98ba3efd301bc1a77c5c92e10176ce35b4b07e6e 100755 (executable)
@@ -367,7 +367,7 @@ getpid() {
                 # The ps statement below looks for the specific wrapper command running as
                 #  the pid.  If it is not found then the pid file is considered to be stale.
 
-                dir=`echo ${WRAPPER_CMD:0:60}`
+                dir=`echo ${WRAPPER_CMD}`
                 #echo "searching for $dir in command args for PID verification..."
 
                 #echo "args for PID: ${pid}:"