- add 2s for new state, reduce buffer
[oweals/gnunet.git] / src / arm / gnunet-arm.c
index b960d0292f3f306058998f2661a6ea443feb0f17..0d5f038a362a638654a65063ba23a0c8fd3ecf76 100644 (file)
@@ -517,12 +517,14 @@ list_callback (void *cls,
     GNUNET_asprintf (&msg, "%s", _("Failed to request a list of services: %s\n"));
     FPRINTF (stdout, msg, req_string (rs));
     GNUNET_free (msg);
+    ret = 3;
     GNUNET_SCHEDULER_shutdown ();
   }
   if (NULL == list)
   {
     FPRINTF (stderr, "%s", _("Error communicating with ARM. ARM not running?\n"));
     GNUNET_SCHEDULER_shutdown ();
+    ret = 3;
     return;
   }
   FPRINTF (stdout, "%s", _("Running services:\n"));