diff --git a/usr.bin/man/man.sh b/usr.bin/man/man.sh index 504ca0c22861..e125e5be3f85 100755 --- a/usr.bin/man/man.sh +++ b/usr.bin/man/man.sh @@ -925,7 +925,7 @@ whatis_usage() { # Supported commands do_apropos() { - [ $(stat -f %i /usr/bin/man) -eq $(stat -f %i /usr/bin/apropos) ] && \ + [ $(stat -f %i /usr/bin/man) -ne $(stat -f %i /usr/bin/apropos) ] && \ exec apropos "$@" search_whatis apropos "$@" } @@ -962,7 +962,7 @@ do_manpath() { } do_whatis() { - [ $(stat -f %i /usr/bin/man) -eq $(stat -f %i /usr/bin/whatis) ] && \ + [ $(stat -f %i /usr/bin/man) -ne $(stat -f %i /usr/bin/whatis) ] && \ exec whatis "$@" search_whatis whatis "$@" }