commit:     ca08c34b5145cb84a9a03220f67934b2fcf681b6
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  3 18:23:57 2026 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Mar  4 16:52:35 2026 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=ca08c34b

bin/isolated-functions.sh: make nonfatal die -n log to stderr

This better matches the behavior of built-in ebuild helpers.

Bug: https://bugs.gentoo.org/970844
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 bin/isolated-functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index a7dd6d78c9..8fe32a860b 100644
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -107,7 +107,7 @@ die() {
        if ___eapi_die_can_respect_nonfatal && [[ $1 == -n ]]; then
                shift
                if [[ ${PORTAGE_NONFATAL} == 1 ]]; then
-                       [[ $# -gt 0 ]] && eerror "$*"
+                       [[ $# -gt 0 ]] && echo -e "$@" >&2
                        return 1
                fi
        fi

Reply via email to