1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 00:51:24 +03:00

udevd: worker - use _exit() rather than exit()

Follow the coding style and avoid the exit handlers.
This commit is contained in:
Tom Gundersen 2015-04-21 15:53:10 +02:00
parent 6af5e6a4c9
commit 8b46c3fc48

View File

@ -409,7 +409,7 @@ out:
udev_builtin_exit(udev);
udev_unref(udev);
log_close();
exit(r < 0 ? EXIT_FAILURE : EXIT_SUCCESS);
_exit(r < 0 ? EXIT_FAILURE : EXIT_SUCCESS);
}
case -1:
event->state = EVENT_QUEUED;