diff options
author | Tom Gundersen <teg@jklm.no> | 2015-04-21 15:53:10 +0200 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-05-26 13:06:58 -0400 |
commit | 4e8a53c6810ab423037b4eff75bf375fde3e0f5d (patch) | |
tree | bffb04d1d2df3ebbf28679b674e5491280139750 /src | |
parent | 7b6429823bcdcdc62568a4090d4698771ad8bc14 (diff) |
udevd: worker - use _exit() rather than exit()
Follow the coding style and avoid the exit handlers.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/udev/udevd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |