am 5a1d5a8c: Merge "ueventd: call _exit for safety"

* commit '5a1d5a8c79d0148291700cc5773a1519f2c6d8eb':
  ueventd: call _exit for safety
This commit is contained in:
Kenny Root 2014-08-25 17:16:00 +00:00 committed by Android Git Automerger
commit cf2b944df6
1 changed files with 3 additions and 1 deletions

View File

@ -938,7 +938,9 @@ static void handle_firmware_event(struct uevent *uevent)
pid = fork();
if (!pid) {
process_firmware_event(uevent);
exit(EXIT_SUCCESS);
_exit(EXIT_SUCCESS);
} else if (pid < 0) {
log_event_print("could not fork to process firmware event: %s\n", strerror(errno));
}
}