You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ri...@apache.org on 2007/03/27 18:33:05 UTC
svn commit: r522989 -
/incubator/qpid/branches/M2/java/broker/bin/qpid.stopall
Author: ritchiem
Date: Tue Mar 27 09:33:04 2007
New Revision: 522989
URL: http://svn.apache.org/viewvc?view=rev&rev=522989
Log:
fixed error where script wouldn't pickup running pids
Modified:
incubator/qpid/branches/M2/java/broker/bin/qpid.stopall
Modified: incubator/qpid/branches/M2/java/broker/bin/qpid.stopall
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/M2/java/broker/bin/qpid.stopall?view=diff&rev=522989&r1=522988&r2=522989
==============================================================================
--- incubator/qpid/branches/M2/java/broker/bin/qpid.stopall (original)
+++ incubator/qpid/branches/M2/java/broker/bin/qpid.stopall Tue Mar 27 09:33:04 2007
@@ -16,7 +16,7 @@
lookup()
{
pids=`ps o pid,command |grep -v grep | grep $PROGRAM | cut -d ' ' -f 1`
-result=`echo -n $pids | wc -l`
+result=`echo -n $pids | wc -w`
}