chiark / gitweb /
[PATCH] close connection to syslog in forked udevd child
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Tue, 23 Nov 2004 02:30:13 +0000 (03:30 +0100)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 05:30:28 +0000 (22:30 -0700)
udevd.c

diff --git a/udevd.c b/udevd.c
index 3ad8c47..2337493 100644 (file)
--- a/udevd.c
+++ b/udevd.c
@@ -131,6 +131,7 @@ static void udev_run(struct hotplug_msg *msg)
        case 0:
                /* child */
                close(udevsendsock);
+               logging_close();
                execle(udev_bin, "udev", msg->subsystem, NULL, msg->envp);
                dbg("exec of child failed");
                _exit(1);