[GRASS-SVN] r51972 - grass/trunk/vector/v.build

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jun 4 08:27:52 PDT 2012


Author: martinl
Date: 2012-06-04 08:27:51 -0700 (Mon, 04 Jun 2012)
New Revision: 51972

Modified:
   grass/trunk/vector/v.build/main.c
Log:
v.build: no need to call exit() after G_fatal_error()


Modified: grass/trunk/vector/v.build/main.c
===================================================================
--- grass/trunk/vector/v.build/main.c	2012-06-04 15:20:43 UTC (rev 51971)
+++ grass/trunk/vector/v.build/main.c	2012-06-04 15:27:51 UTC (rev 51972)
@@ -111,14 +111,12 @@
 	    if (0 != strcmp(xmapset, G_mapset())) {
 		G_fatal_error(_("Vector map <%s> is not in current mapset"),
 			      map_opt->answer);
-		exit(EXIT_FAILURE);
 	    }
 	}
 	Vect_set_open_level(1);
 	if (Vect_open_old(&Map, map_opt->answer, G_mapset()) < 0) {
 	    G_fatal_error(_("Unable to build topology for <%s>"),
 			  map_opt->answer);
-	    exit(EXIT_FAILURE);
 	}
 	Vect_build(&Map);
     }



More information about the grass-commit mailing list