Skip to content

Commit

Permalink
udevd: worker - use _exit() rather than exit()
Browse files Browse the repository at this point in the history
Follow the coding style and avoid the exit handlers.

Signed-off-by: Anthony G. Basile <[email protected]>
  • Loading branch information
teg authored and blueness committed May 26, 2015
1 parent 7b64298 commit 4e8a53c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/udev/udevd.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ static void worker_spawn(struct event *event) {
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;
Expand Down

0 comments on commit 4e8a53c

Please sign in to comment.