[jboss-cvs] JBossAS SVN: r114581 - branches/JBPAPP_5/server/src/bin.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 10 05:16:19 EST 2013


Author: soul2zimate
Date: 2013-12-10 05:16:19 -0500 (Tue, 10 Dec 2013)
New Revision: 114581

Modified:
   branches/JBPAPP_5/server/src/bin/jboss_init_redhat.sh
Log:
[JBPAPP-10920], remove the sed regexp substitution in jboss_init_redhat.sh

Modified: branches/JBPAPP_5/server/src/bin/jboss_init_redhat.sh
===================================================================
--- branches/JBPAPP_5/server/src/bin/jboss_init_redhat.sh	2013-12-10 08:46:18 UTC (rev 114580)
+++ branches/JBPAPP_5/server/src/bin/jboss_init_redhat.sh	2013-12-10 10:16:19 UTC (rev 114581)
@@ -70,7 +70,7 @@
 
 function procrunning() {
    procid=0
-   JBOSSSCRIPT=$(echo $JBOSSSH | awk '{print $1}' | sed 's/\//\\\//g')
+   JBOSSSCRIPT=$(echo $JBOSSSH | awk '{print $1}')
    for procid in `/sbin/pidof -x "$JBOSSSCRIPT"`; do
        ps -fp $procid | grep "${JBOSSSH% *}" > /dev/null && pid=$procid
    done



More information about the jboss-cvs-commits mailing list