--- a/bin/eselect.in +++ a/bin/eselect.in @@ -55,11 +55,6 @@ IFS=$' \t\n' shopt -s extglob shopt -s expand_aliases -# Save stderr file descriptor -# exec {ESELECT_STDERR}>&2 # >=bash-4.1 -exec 3>&2 -ESELECT_STDERR=3 - # Load core functions source "${ESELECT_CORE_PATH}/core.bash" || exit 255 # Load necessary functions for the main script --- a/libs/core.bash.in +++ a/libs/core.bash.in @@ -32,9 +32,6 @@ check_do() { die() { local item funcname="" sourcefile="" lineno="" n e s="yes" - # Restore stderr if it was redirected - exec 2>&${ESELECT_STDERR} - # do we have a working write_error_msg? if is_function "write_error_msg"; then e="write_error_msg"