Remove the warning when MANPATH is set in the environment
The MANPATH environment variable behaviour is documented properly in the manpage and it now has extended to new feature that allows to make MANPATH env variable extending the default search path rather than overwriting it making the warning painful Reported by: kargl MFC after: 1 week
This commit is contained in:
parent
84e1ba258b
commit
6970ca8f1e
@ -261,10 +261,6 @@ manpath_usage() {
|
||||
# Usage: manpath_warnings
|
||||
# Display some warnings to stderr.
|
||||
manpath_warnings() {
|
||||
if [ -z "$Lflag" -a -n "$MANPATH" ]; then
|
||||
echo "(Warning: MANPATH environment variable set)" >&2
|
||||
fi
|
||||
|
||||
if [ -n "$Lflag" -a -n "$MANLOCALES" ]; then
|
||||
echo "(Warning: MANLOCALES environment variable set)" >&2
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user