system: add reboot method to system ubus object
[project/procd.git] / service / instance.c
index dccf4b4..d7d1f82 100644 (file)
@@ -513,7 +513,7 @@ instance_exit(struct uloop_process *p, int ret)
 
        uloop_timeout_cancel(&in->timeout);
        if (in->halt) {
-               /* no action */
+               instance_removepid(in);
        } else if (in->restart) {
                instance_start(in);
        } else if (in->respawn) {