[GRASS-SVN] r69969 - grass/branches/releasebranch_7_2/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 1 16:43:06 PST 2016


Author: wenzeslaus
Date: 2016-12-01 16:43:06 -0800 (Thu, 01 Dec 2016)
New Revision: 69969

Modified:
   grass/branches/releasebranch_7_2/lib/init/grass.py
Log:
init: force text/no GUI with -e (backport r69851)

Fixed complaining about something which is not a problem.
Using 'text' for 'GUI' should do no harm.


Modified: grass/branches/releasebranch_7_2/lib/init/grass.py
===================================================================
--- grass/branches/releasebranch_7_2/lib/init/grass.py	2016-12-01 23:09:18 UTC (rev 69968)
+++ grass/branches/releasebranch_7_2/lib/init/grass.py	2016-12-02 00:43:06 UTC (rev 69969)
@@ -1857,7 +1857,7 @@
         message(_("Starting GRASS GIS..."))
 
     # Ensure GUI is set
-    if batch_job:
+    if batch_job or params.exit_grass:
         grass_gui = 'text'
     else:
         if not grass_gui:



More information about the grass-commit mailing list