diff options
author | Kenny Root <kroot@google.com> | 2014-08-25 18:03:27 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-08-25 18:03:27 +0000 |
commit | c6c8b563e60adf94d5576567245ee4d30dabb137 (patch) | |
tree | f89b52028691732f9b846a6fa08e7ca5a4f2c481 /init | |
parent | a024c2e770f91407b61f1d5e27a2b14ffaeaee6f (diff) | |
parent | cf2b944df6d744d279a434ec280f9bd8cef03a5b (diff) | |
download | system_core-c6c8b563e60adf94d5576567245ee4d30dabb137.zip system_core-c6c8b563e60adf94d5576567245ee4d30dabb137.tar.gz system_core-c6c8b563e60adf94d5576567245ee4d30dabb137.tar.bz2 |
am cf2b944d: am 5a1d5a8c: Merge "ueventd: call _exit for safety"
* commit 'cf2b944df6d744d279a434ec280f9bd8cef03a5b':
ueventd: call _exit for safety
Diffstat (limited to 'init')
-rw-r--r-- | init/devices.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/init/devices.c b/init/devices.c index 1012fee..2fa5c22 100644 --- a/init/devices.c +++ b/init/devices.c @@ -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)); } } |