summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);