summaryrefslogtreecommitdiffstats
path: root/install.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-06-12 17:25:38 +0200
committerThe Android Open Source Project <initial-contribution@android.com>2009-06-12 17:25:38 +0200
commit6c301e244d0d14e3b2983350d7c383abf52b89f7 (patch)
treec6d6705c9cf240991a29b4773180691afadaf623 /install.c
parentfix simulator build by excluding more of recovery (diff)
parentedify extensions for OTA package installation, part 1 (diff)
downloadandroid_bootable_recovery-6c301e244d0d14e3b2983350d7c383abf52b89f7.tar
android_bootable_recovery-6c301e244d0d14e3b2983350d7c383abf52b89f7.tar.gz
android_bootable_recovery-6c301e244d0d14e3b2983350d7c383abf52b89f7.tar.bz2
android_bootable_recovery-6c301e244d0d14e3b2983350d7c383abf52b89f7.tar.lz
android_bootable_recovery-6c301e244d0d14e3b2983350d7c383abf52b89f7.tar.xz
android_bootable_recovery-6c301e244d0d14e3b2983350d7c383abf52b89f7.tar.zst
android_bootable_recovery-6c301e244d0d14e3b2983350d7c383abf52b89f7.zip
Diffstat (limited to 'install.c')
-rw-r--r--install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.c b/install.c
index eff9312b4..0b5c04da9 100644
--- a/install.c
+++ b/install.c
@@ -256,7 +256,7 @@ try_update_binary(const char *path, ZipArchive *zip) {
int status;
waitpid(pid, &status, 0);
if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) {
- LOGE("Error in %s\n(Status %d)\n", path, status);
+ LOGE("Error in %s\n(Status %d)\n", path, WEXITSTATUS(status));
return INSTALL_ERROR;
}