Smallers steps to keep plugin running
[oweals/gnunet.git] / src / arm / arm_api.c
index ac473e87e000001d498a899c72a8f7ca87dfe580..66747a624acde3d7190926e1044ad00df255301d 100644 (file)
@@ -439,7 +439,11 @@ arm_service_report (void *cls,
                                                       "WEAKRANDOM")) &&
       (GNUNET_YES == GNUNET_CONFIGURATION_get_value_yesno (pos->h->cfg,
                                                            "TESTING",
-                                                           "WEAKRANDOM")))
+                                                           "WEAKRANDOM")) &&
+      (GNUNET_NO == GNUNET_CONFIGURATION_have_value (pos->h->cfg,
+                                                     "TESTING",
+                                                     "HOSTFILE")) /* Means we are ONLY running locally */
+                                                           )
     {
       /* we're clearly running a test, don't daemonize */
       pid = do_start_process (NULL,