Merge "Replace _exit(-1) with _exit(EXIT_FAILURE)." am: 95bcbfdd4e

am: 80176c68b2

Change-Id: I6338fc4f929b0887563a0194719c887131538fec
This commit is contained in:
Tao Bao
2017-02-03 23:48:27 +00:00
committed by android-build-merger
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -387,7 +387,7 @@ static int try_update_binary(const char* path, ZipArchiveHandle zip, bool* wipe_
// the child process to hang. This deadlock results from an improperly
// copied mutex in the ui functions.
fprintf(stdout, "E:Can't run %s (%s)\n", chr_args[0], strerror(errno));
_exit(-1);
_exit(EXIT_FAILURE);
}
close(pipefd[1]);