diff options
author | Tom Gundersen <teg@jklm.no> | 2015-04-21 15:53:10 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-05-06 18:35:55 +0200 |
commit | 8b46c3fc48767e36dbfb6b6ca3d8a12aa024fd40 (patch) | |
tree | b0fd32fbfaf4d40ee51556034f43eaf317698f0b /src | |
parent | 6af5e6a4c918a68b196a04346732e094e5373a36 (diff) |
udevd: worker - use _exit() rather than exit()
Follow the coding style and avoid the exit handlers.
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 0a09276d9e..0458af1309 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -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; |