chiark / gitweb /
fix rc when using udev --daemon
authorMarco d'Itri <md@Linux.IT>
Tue, 22 Aug 2006 21:20:15 +0000 (23:20 +0200)
committerKay Sievers <kay.sievers@suse.de>
Tue, 22 Aug 2006 21:20:15 +0000 (23:20 +0200)
udevd.c

diff --git a/udevd.c b/udevd.c
index e27dd78..de7cace 100644 (file)
--- a/udevd.c
+++ b/udevd.c
@@ -990,6 +990,7 @@ int main(int argc, char *argv[], char *envp[])
                        goto exit;
                default:
                        dbg("child [%u] running, parent exits", pid);
+                       rc = 0;
                        goto exit;
                }
        }