[lsc-changes] r672 - in lsc: branches/v1.2/bin trunk/bin

jclarke at lsc-project.org jclarke at lsc-project.org
Mon Mar 8 15:15:09 CET 2010


Author: jclarke
Date: 2010-03-08 15:15:09 +0100 (Mon, 08 Mar 2010)
New Revision: 672

Modified:
   lsc/branches/v1.2/bin/lsc
   lsc/trunk/bin/lsc
Log:
Fixes #179. Avoid detecting other processes using the org.lsc namespace

Modified: lsc/branches/v1.2/bin/lsc
===================================================================
--- lsc/branches/v1.2/bin/lsc	2010-02-28 23:12:29 UTC (rev 671)
+++ lsc/branches/v1.2/bin/lsc	2010-03-08 14:15:09 UTC (rev 672)
@@ -102,7 +102,7 @@
 get_java
 
 # check if LSC is not already running
-if [ $(ps -efww | grep java | grep org.lsc | grep -v grep | wc -l) -ne 0 ] 
+if [ $(ps -efww | grep java | grep org.lsc.Launcher | grep -v grep | wc -l) -ne 0 ] 
 then
 	# LSC already running
 	fatal "LSC already running - launch aborted"

Modified: lsc/trunk/bin/lsc
===================================================================
--- lsc/trunk/bin/lsc	2010-02-28 23:12:29 UTC (rev 671)
+++ lsc/trunk/bin/lsc	2010-03-08 14:15:09 UTC (rev 672)
@@ -102,7 +102,7 @@
 get_java
 
 # check if LSC is not already running
-if [ $(ps -efww | grep java | grep org.lsc | grep -v grep | wc -l) -ne 0 ] 
+if [ $(ps -efww | grep java | grep org.lsc.Launcher | grep -v grep | wc -l) -ne 0 ] 
 then
 	# LSC already running
 	fatal "LSC already running - launch aborted"



More information about the lsc-changes mailing list