[GRASS-SVN] r30639 - grass/branches/releasebranch_6_3/db/base

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 19 07:21:50 EDT 2008


Author: martinl
Date: 2008-03-19 07:21:49 -0400 (Wed, 19 Mar 2008)
New Revision: 30639

Modified:
   grass/branches/releasebranch_6_3/db/base/describe.c
Log:
db.describe: exit with EXIT_FAILURE when G_parser() fails
Cosmetics in the header
(backported from trunk)


Modified: grass/branches/releasebranch_6_3/db/base/describe.c
===================================================================
--- grass/branches/releasebranch_6_3/db/base/describe.c	2008-03-19 11:18:23 UTC (rev 30638)
+++ grass/branches/releasebranch_6_3/db/base/describe.c	2008-03-19 11:21:49 UTC (rev 30639)
@@ -2,9 +2,11 @@
  *
  * MODULE:       db.describe
  * AUTHOR(S):    Radim Blazek <radim.blazek gmail.com> (original contributor)
- *               Glynn Clements <glynn gclements.plus.com>, Markus Neteler <neteler itc.it>, Stephan Holl
- * PURPOSE:      displays table information
- * COPYRIGHT:    (C) 2002-2007 by the GRASS Development Team
+ *               Glynn Clements <glynn gclements.plus.com>,
+ *               Markus Neteler <neteler itc.it>,
+ *               Stephan Holl
+ * PURPOSE:      Displays table information
+ * COPYRIGHT:    (C) 2002-2008 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS
@@ -125,7 +127,7 @@
     module->description = _("Describes a table in detail.");
 
     if(G_parser(argc, argv))
-        exit (EXIT_SUCCESS);
+        exit (EXIT_FAILURE);
 
     parms.driver	= driver->answer;
     parms.database	= database->answer;



More information about the grass-commit mailing list