[GRASS-SVN] r34649 -
grass/branches/develbranch_6/raster/r.watershed/front
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Dec 1 02:25:37 EST 2008
Author: hamish
Date: 2008-12-01 02:25:37 -0500 (Mon, 01 Dec 2008)
New Revision: 34649
Modified:
grass/branches/develbranch_6/raster/r.watershed/front/main.c
Log:
be noisier if the subprocess fails
Modified: grass/branches/develbranch_6/raster/r.watershed/front/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.watershed/front/main.c 2008-12-01 07:23:16 UTC (rev 34648)
+++ grass/branches/develbranch_6/raster/r.watershed/front/main.c 2008-12-01 07:25:37 UTC (rev 34649)
@@ -356,6 +356,8 @@
ret = system(command);
+ if(ret != EXIT_SUCCESS)
+ G_warning(_("Subprocess failed with exit code %d"), ret);
/* record map metadata/history info */
if (opt8->answer)
More information about the grass-commit
mailing list