gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r14642 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r14642 - gnunet/src/testing
Date: Mon, 14 Mar 2011 20:00:09 +0100

Author: nevans
Date: 2011-03-14 20:00:09 +0100 (Mon, 14 Mar 2011)
New Revision: 14642

Modified:
   gnunet/src/testing/testing_group.c
Log:
better exception handling

Modified: gnunet/src/testing/testing_group.c
===================================================================
--- gnunet/src/testing/testing_group.c  2011-03-14 18:58:18 UTC (rev 14641)
+++ gnunet/src/testing/testing_group.c  2011-03-14 19:00:09 UTC (rev 14642)
@@ -5614,7 +5614,8 @@
   GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "starting peers with cmd ssh %s %s 
%s\n", arg, "peerStartHelper.pl", tempdir);
 
   GNUNET_OS_process_wait (proc);
-  GNUNET_OS_process_status (proc, &type, &code);
+  if (GNUNET_OK != GNUNET_OS_process_status (proc, &type, &code))
+    code = 1;
   GNUNET_OS_process_close(proc);
   GNUNET_free (tempdir);
   GNUNET_free (baseservicehome);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]