]> arthur.barton.de Git - ConfigScripts.git/blobdiff - sys/profile
Make sure that "type manpath" emits no error messages
[ConfigScripts.git] / sys / profile
index f1ffada04e1ef518a4708ad24655342ffd09cdbb..0ce21cf32cea5650bf7ad6a6411591b8a04ddd12 100644 (file)
@@ -50,7 +50,7 @@ done
 [ -d ~/sbin ] && PATH=~/sbin:"${PATH}"
 
 # Setup MANPATH, if manpath(1) isn't available
-if [ ! "$(type manpath)" ]; then
+if [ ! "$(type manpath 2>/dev/null)" ]; then
        [ -z "$MANPATH" ] \
                && MANPATH="/usr/local/share/man:/usr/share/man:/usr/man"
        path=""