summaryrefslogtreecommitdiff
path: root/src/arm/gnunet-service-arm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arm/gnunet-service-arm.c')
-rw-r--r--src/arm/gnunet-service-arm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arm/gnunet-service-arm.c b/src/arm/gnunet-service-arm.c
index b30ae518e..65404bbed 100644
--- a/src/arm/gnunet-service-arm.c
+++ b/src/arm/gnunet-service-arm.c
@@ -1400,6 +1400,10 @@ handle_list(void *cls, const struct GNUNET_ARM_Message *request)
ssm->last_exit_status = htons (sl->last_exit_status);
}
}
+ else if ((NULL != sl->killing_client) || (GNUNET_YES == in_shutdown))
+ {
+ ssm->status = htonl (GNUNET_ARM_SERVICE_STATUS_STOPPING);
+ }
else
{
ssm->status = htonl (GNUNET_ARM_SERVICE_STATUS_STARTED);