-fixes
[oweals/gnunet.git] / src / testing / gnunet-testing.c
index f5d7ab36c1c1b6d07d238d1259ddcf5ba3f9ecc5..0caa28e255900b276b482d78e096e2d320ca89cd 100644 (file)
@@ -77,8 +77,11 @@ create_unique_cfgs (const char * template, const unsigned int no)
     return 1;
   }
   /* load defaults */
-  else
-    GNUNET_CONFIGURATION_load(cfg_tmpl,  NULL);
+  else if (GNUNET_OK != GNUNET_CONFIGURATION_load(cfg_tmpl,  NULL))
+  {
+    GNUNET_break (0);
+    return 1;
+  }
 
   if (GNUNET_SYSERR == GNUNET_CONFIGURATION_get_value_string(cfg_tmpl, "PATHS", "SERVICEHOME", &service_home))
   {