summaryrefslogtreecommitdiffstats
path: root/install.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;
}