diff options
Diffstat (limited to 'ninja/src/browse.cc')
-rw-r--r-- | ninja/src/browse.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ninja/src/browse.cc b/ninja/src/browse.cc index c08c9f4d402..14900f8464b 100644 --- a/ninja/src/browse.cc +++ b/ninja/src/browse.cc @@ -14,7 +14,6 @@ #include "browse.h" -#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -58,11 +57,7 @@ void RunBrowsePython(State* state, const char* ninja_command, } command.push_back(NULL); execvp(command[0], (char**)&command[0]); - if (errno == ENOENT) { - printf("ninja: %s is required for the browse tool\n", NINJA_PYTHON); - } else { - perror("ninja: execvp"); - } + perror("ninja: execvp"); } while (false); _exit(1); } else { // Child. |