[LEDE-DEV] [PATCH] procd: instance_stop causes a call to instance_removepid via instance_exit, no need to do this already when the instance will be stopped.
Jurgen Van Ham
juvanham.tc at gmail.com
Fri Jul 15 03:34:52 PDT 2016
Signed-off-by: Jurgen Van Ham <juvanham.tc at gmail.com>
---
service/instance.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/service/instance.c b/service/instance.c
index d7d1f82..8f7835a 100644
--- a/service/instance.c
+++ b/service/instance.c
@@ -541,7 +541,6 @@ instance_stop(struct service_instance *in)
in->halt = true;
in->restart = in->respawn = false;
kill(in->proc.pid, SIGTERM);
- instance_removepid(in);
}
static void
--
1.7.9.5
More information about the Lede-dev
mailing list