mirror of
https://github.com/pygos/init.git
synced 2024-11-05 12:17:10 +01:00
Fix remove by id
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
parent
2e89d32a75
commit
1c72dd2c2f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue