diff options
author | Tao Bao <tbao@google.com> | 2017-02-04 00:48:27 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-02-04 00:48:27 +0100 |
commit | b8af1beed09eb1e3c5a91c445004e485ef4b789e (patch) | |
tree | 25cded2ed2293f54b91ad7c8f6c45eebb16e55ed /adb_install.cpp | |
parent | Merge "Avoid to call UI functions in child process" am: 0f275ae56e (diff) | |
parent | Merge "Replace _exit(-1) with _exit(EXIT_FAILURE)." (diff) | |
download | android_bootable_recovery-b8af1beed09eb1e3c5a91c445004e485ef4b789e.tar android_bootable_recovery-b8af1beed09eb1e3c5a91c445004e485ef4b789e.tar.gz android_bootable_recovery-b8af1beed09eb1e3c5a91c445004e485ef4b789e.tar.bz2 android_bootable_recovery-b8af1beed09eb1e3c5a91c445004e485ef4b789e.tar.lz android_bootable_recovery-b8af1beed09eb1e3c5a91c445004e485ef4b789e.tar.xz android_bootable_recovery-b8af1beed09eb1e3c5a91c445004e485ef4b789e.tar.zst android_bootable_recovery-b8af1beed09eb1e3c5a91c445004e485ef4b789e.zip |
Diffstat (limited to 'adb_install.cpp')
-rw-r--r-- | adb_install.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adb_install.cpp b/adb_install.cpp index fab72f8a4..79b8df91b 100644 --- a/adb_install.cpp +++ b/adb_install.cpp @@ -78,7 +78,7 @@ int apply_from_adb(RecoveryUI* ui, bool* wipe_cache, const char* install_file) { pid_t child; if ((child = fork()) == 0) { execl("/sbin/recovery", "recovery", "--adbd", NULL); - _exit(-1); + _exit(EXIT_FAILURE); } // FUSE_SIDELOAD_HOST_PATHNAME will start to exist once the host |