Merge pull request #4498 from ak503/ldpd

ldpd: Fix shutdown
This commit is contained in:
Quentin Young 2019-06-11 14:16:35 -04:00 committed by GitHub
commit afbdfbb69b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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. */