[PATCH] close connection to syslog in forked udevd child

This commit is contained in:
kay.sievers@vrfy.org 2004-11-23 03:30:13 +01:00 committed by Greg KH
parent ec9cc0127d
commit f602ccf072

View File

@ -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);