mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 12:53:26 +00:00
ldpd: Fix shutdown
When we stopped ldpd, we get fatal error message from wait(). This commit fix it. Signed-off-by: Dmitrii Turlupov <dturlupov@factor-ts.ru>
This commit is contained in:
parent
e787685f86
commit
a0c49f50db
@ -447,7 +447,7 @@ ldpd_shutdown(void)
|
||||
if (errno == EINTR)
|
||||
continue;
|
||||
/* No more processes were found. */
|
||||
if (errno != ECHILD)
|
||||
if (errno == ECHILD)
|
||||
break;
|
||||
|
||||
/* Unhandled errno condition. */
|
||||
|
Loading…
Reference in New Issue
Block a user