1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-27 18:55:09 +03:00

Merge pull request #2423 from keszybz/udevd-crash-in-cleanup

udevd: do not clean up fds in main
This commit is contained in:
Daniel Mack 2016-01-24 15:09:33 +01:00
commit 3a79e301e8

View File

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