- GNUNET_assert (success == GNUNET_YES);
- GNUNET_ARM_start_service (arm, "resolver", START_TIMEOUT, &resolver_notify, NULL);
+ if (success != GNUNET_ARM_PROCESS_STARTING)
+ {
+ GNUNET_break (0);
+ ok = 2;
+#if START_ARM
+ GNUNET_ARM_stop_service (arm, "arm", TIMEOUT, &arm_stopped, NULL);
+#endif
+ }
+ GNUNET_ARM_start_service (arm, "resolver", START_TIMEOUT, &resolver_notify,
+ NULL);