aboutsummaryrefslogtreecommitdiff
path: root/initd
diff options
context:
space:
mode:
Diffstat (limited to 'initd')
-rw-r--r--initd/supervisor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/initd/supervisor.c b/initd/supervisor.c
index 37205ef..8ac69af 100644
--- a/initd/supervisor.c
+++ b/initd/supervisor.c
@@ -317,7 +317,7 @@ static service_t *remove_by_id(service_t **list, int id)
if (prev == NULL) {
*list = svc->next;
} else {
- prev = svc->next;
+ prev->next = svc->next;
}
}