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 |