diff options
Diffstat (limited to 'install.cpp')
-rw-r--r-- | install.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/install.cpp b/install.cpp index 7afcff6..709b945 100644 --- a/install.cpp +++ b/install.cpp @@ -195,7 +195,12 @@ try_update_binary(const char* path, ZipArchive* zip, bool* wipe_cache) { int status; waitpid(pid, &status, 0); if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { - LOGE("Error in %s\n(Status %d)\n", path, WEXITSTATUS(status)); + if (WEXITSTATUS(status) != 7) { + LOGE("Installation error in %s\n(Status %d)\n", path, WEXITSTATUS(status)); + } else { + LOGE("Failed to install %s\n", path); + LOGE("Please take note of all the above lines for reports\n"); + } return INSTALL_ERROR; } |