summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-19 20:05:19 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-19 20:05:19 +0000
commit33d852be8abf08eb33d1135b425f9f16e0e9aff9 (patch)
tree47cf7b3512a4ae12aa320275504f7cab43bab76e
parentFix build system. (diff)
downloadeselect-python-33d852be8abf08eb33d1135b425f9f16e0e9aff9.tar.gz
eselect-python-33d852be8abf08eb33d1135b425f9f16e0e9aff9.tar.bz2
eselect-python-33d852be8abf08eb33d1135b425f9f16e0e9aff9.zip
Improve finding of python (bug #281933).
-rw-r--r--python-wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python-wrapper.c b/python-wrapper.c
index 5ca01e7..8acda53 100644
--- a/python-wrapper.c
+++ b/python-wrapper.c
@@ -207,7 +207,7 @@ int main(__attribute__((unused)) int argc, char** argv)
if (*path)
{
execv(dir_cat(path, EPYTHON), argv);
- return EXIT_ERROR;
+ /* If this failed, then just search the PATH. */
}
execvp(EPYTHON, argv);