[GRASS-SVN] r60049 - grass/trunk/vector/v.in.db

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 2 14:20:32 PDT 2014


Author: hcho
Date: 2014-05-02 14:20:32 -0700 (Fri, 02 May 2014)
New Revision: 60049

Modified:
   grass/trunk/vector/v.in.db/main.c
Log:
exit => G_fatal_error

Modified: grass/trunk/vector/v.in.db/main.c
===================================================================
--- grass/trunk/vector/v.in.db/main.c	2014-05-02 16:53:57 UTC (rev 60048)
+++ grass/trunk/vector/v.in.db/main.c	2014-05-02 21:20:32 UTC (rev 60049)
@@ -148,7 +148,8 @@
     }
 
     if (Vect_open_new(&Map, outvect->answer, with_z) == -1)
-	exit(EXIT_FAILURE);
+	G_fatal_error(_("Unable to create new vector map <%s>"),
+			outvect->answer);
 
     Vect_set_error_handler_io(NULL, &Map);
     



More information about the grass-commit mailing list