1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-12-22 15:20:49 +01:00

Fix remove by id

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-06-16 16:09:49 +02:00
parent 2e89d32a75
commit 1c72dd2c2f

View file

@ -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;
}
}