summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-23 03:30:13 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 22:30:28 -0700
commitf602ccf0723f116c2c3a77e057a0540027aa38b8 (patch)
tree6e03247c0612ea1eb1cc863919170e9704ae4d48
parentec9cc0127d3b50885723dd4f54d4851e7160ec22 (diff)
[PATCH] close connection to syslog in forked udevd child
-rw-r--r--udevd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udevd.c b/udevd.c
index 3ad8c47f22..2337493f1e 100644
--- 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);