Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 380285
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
Line  Link Here
0
-- /usr/libexec/editor
0
++ /usr/libexec/editor
Lines 6-12 Link Here
6
6
7
if [ -z "${EDITOR}" ]; then
7
if [ -z "${EDITOR}" ]; then
8
    # Try to get EDITOR from system profile
8
    # Try to get EDITOR from system profile
9
    EDITOR=$(. /etc/profile &>/dev/null; echo "${EDITOR}")
9
    EDITOR=$(. /etc/profile >/dev/null 2>&1 ; echo "${EDITOR}")
10
fi
10
fi
11
11
12
if [ -z "${EDITOR}" ]; then
12
if [ -z "${EDITOR}" ]; then

Return to bug 380285