[GRASS-SVN] r71549 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Oct 11 01:04:49 PDT 2017
Author: mmetz
Date: 2017-10-11 01:04:48 -0700 (Wed, 11 Oct 2017)
New Revision: 71549
Modified:
grass/trunk/lib/gis/spawn.c
Log:
gislib: print error when fork() fails
Modified: grass/trunk/lib/gis/spawn.c
===================================================================
--- grass/trunk/lib/gis/spawn.c 2017-10-11 08:03:36 UTC (rev 71548)
+++ grass/trunk/lib/gis/spawn.c 2017-10-11 08:04:48 UTC (rev 71549)
@@ -663,7 +663,7 @@
pid = fork();
if (pid < 0) {
- G_warning(_("Unable to create a new process"));
+ G_warning(_("Unable to create a new process: %s"), strerror(errno));
undo_signals(sp->signals, sp->num_signals, SST_PRE);
return status;
More information about the grass-commit
mailing list