procd: remove instance_removepid call from instance_stop
authorJurgen Van Ham <juvanham.tc@gmail.com>
Fri, 15 Jul 2016 10:34:52 +0000 (12:34 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 19 Jul 2016 12:20:33 +0000 (14:20 +0200)
It is already called from instance_exit when the instance is stopped

Signed-off-by: Jurgen Van Ham <juvanham.tc@gmail.com>
service/instance.c

index d7d1f82eac318127cc3d01a54f68e77edc9bd5ea..8f7835a79f34415dd07a13fa30e26adabac9e463 100644 (file)
@@ -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