commit: 0181746a36f8ed9aa6610ab5ebdd0764c119c0df
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 22:45:46 2023 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed May 17 22:45:46 2023 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=0181746a
ebuild-pyhelper: Exit with status 127 if the command was not found
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
bin/ebuild-pyhelper | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/ebuild-pyhelper b/bin/ebuild-pyhelper
index 3c77a0304..901277c96 100755
--- a/bin/ebuild-pyhelper
+++ b/bin/ebuild-pyhelper
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-# Copyright 2010-2021 Gentoo Authors
+# Copyright 2010-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
export __PORTAGE_HELPER_CWD=${PWD}
@@ -18,4 +18,4 @@ for path in "${PORTAGE_BIN_PATH}/${0##*/}"{.py,}; do
fi
done
echo "File not found: ${path}" >&2
-exit 1
+exit 127