summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2016-01-24 15:09:33 +0100
committerDaniel Mack <github@zonque.org>2016-01-24 15:09:33 +0100
commit3a79e301e8304609a173b86237d6cc6b6e37a5ce (patch)
tree5b687aea777ccdbdaa18b51dbd5b158629e983ec /src
parent9d5a981398accce14ce0e824122c6748728b4631 (diff)
parentefa1606eec3907d409942a0709d9996a59ef9d14 (diff)
Merge pull request #2423 from keszybz/udevd-crash-in-cleanup
udevd: do not clean up fds in main
Diffstat (limited to 'src')
-rw-r--r--src/udev/udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 8627a81ec2..e658d6a079 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -1652,7 +1652,7 @@ exit:
int main(int argc, char *argv[]) {
_cleanup_free_ char *cgroup = NULL;
- _cleanup_close_ int fd_ctrl = -1, fd_uevent = -1;
+ int fd_ctrl = -1, fd_uevent = -1;
int r;
log_set_target(LOG_TARGET_AUTO);