[PATCH] close connection to syslog in forked udevd child

This commit is contained in:
kay.sievers@vrfy.org
2005-04-26 22:30:28 -07:00
committed by Greg KH
parent ec9cc0127d
commit f602ccf072
+1
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);