]> git.proxmox.com Git - mirror_frr.git/commitdiff
Merge pull request #4498 from ak503/ldpd
authorQuentin Young <qlyoung@users.noreply.github.com>
Tue, 11 Jun 2019 18:16:35 +0000 (14:16 -0400)
committerGitHub <noreply@github.com>
Tue, 11 Jun 2019 18:16:35 +0000 (14:16 -0400)
ldpd: Fix shutdown

ldpd/ldpd.c

index 5aaa2ec3253d53a1a1c38e553d2b10dad166c70c..9fccb085ddb19fe6f7d391cd5e19774f3f1bd9f6 100644 (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. */