-fixes
[oweals/gnunet.git] / src / testing / gnunet-testing.c
index 1c518fef97dac18220e8eddc6e791687bf47633b..0caa28e255900b276b482d78e096e2d320ca89cd 100644 (file)
@@ -19,7 +19,7 @@
 */
 
 /**
- * @file template/gnunet-testing.c
+ * @file testing/gnunet-testing.c
  * @brief tool to use testing functionality from cmd line
  * @author Christian Grothoff
  */
@@ -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))
   {