diff --git a/bin/eselect.in b/bin/eselect.in index 8fd1589..3f99f95 100755 --- a/bin/eselect.in +++ b/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 diff --git a/libs/core.bash.in b/libs/core.bash.in index fe174d1..c16f836 100644 --- a/libs/core.bash.in +++ b/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"