projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57e8911
)
return error as exit code
author
Matthias Wachs
<wachs@net.in.tum.de>
Fri, 29 Nov 2013 08:32:20 +0000
(08:32 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Fri, 29 Nov 2013 08:32:20 +0000
(08:32 +0000)
src/arm/gnunet-arm.c
patch
|
blob
|
history
diff --git
a/src/arm/gnunet-arm.c
b/src/arm/gnunet-arm.c
index b960d0292f3f306058998f2661a6ea443feb0f17..0d5f038a362a638654a65063ba23a0c8fd3ecf76 100644
(file)
--- a/
src/arm/gnunet-arm.c
+++ b/
src/arm/gnunet-arm.c
@@
-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"));