[GRASS-SVN] r39252 - grass/trunk/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Sep 19 14:36:42 EDT 2009


Author: glynn
Date: 2009-09-19 14:36:40 -0400 (Sat, 19 Sep 2009)
New Revision: 39252

Modified:
   grass/trunk/lib/init/grass.py
Log:
Sync to updated etc/lock behaviour


Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py	2009-09-19 15:46:30 UTC (rev 39251)
+++ grass/trunk/lib/init/grass.py	2009-09-19 18:36:40 UTC (rev 39252)
@@ -523,7 +523,7 @@
 		"%d" % os.getpid()])
     if ret == 0:
 	pass
-    elif ret == 1:
+    elif ret == 2:
 	fatal("%s is currently running GRASS in selected mapset (file %s found). Concurrent use not allowed."
 	      % (user, lockfile))
     else:



More information about the grass-commit mailing list