From 4e8a53c6810ab423037b4eff75bf375fde3e0f5d Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Tue, 21 Apr 2015 15:53:10 +0200 Subject: udevd: worker - use _exit() rather than exit() Follow the coding style and avoid the exit handlers. Signed-off-by: Anthony G. Basile --- src/udev/udevd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 89681caf82..891e4c08b9 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -404,7 +404,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; -- cgit v1.2.3-54-g00ecf