diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-10-10 00:38:56 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-10-10 00:38:56 +0200 |
commit | 1f5a5100f3bdfdaf9ef71b29931574b678ff0d82 (patch) | |
tree | 6fdc320d9076e9d3c9931d3110fbe19f37cc5a8e /udev/udevd.c | |
parent | 5cc4112e6d326436dab7476ccc17588d42bf782f (diff) |
udevd: control - no not delete socket file when --daemon is used
Diffstat (limited to 'udev/udevd.c')
-rw-r--r-- | udev/udevd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/udev/udevd.c b/udev/udevd.c index fdb3e42002..60edea98e1 100644 --- a/udev/udevd.c +++ b/udev/udevd.c @@ -1420,7 +1420,7 @@ int main(int argc, char *argv[]) goto exit; default: rc = EXIT_SUCCESS; - goto exit_keep_queue; + goto exit_daemonize; } setsid(); @@ -1704,7 +1704,8 @@ int main(int argc, char *argv[]) rc = EXIT_SUCCESS; exit: udev_queue_export_cleanup(udev_queue_export); -exit_keep_queue: + udev_ctrl_cleanup(udev_ctrl); +exit_daemonize: if (fd_ep >= 0) close(fd_ep); worker_list_cleanup(udev); |