diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-07-24 09:20:02 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-07-24 09:20:02 +0000 |
commit | 24ef74209add6618ee89bbaf526f703719354847 (patch) | |
tree | b9ef0c1f6d0b79cba964a92f1f980aa1784c912a /usr.bin/man | |
parent | 772246ef1848f097b9610a3c2ec5214a69122cb5 (diff) | |
download | src-24ef74209add6618ee89bbaf526f703719354847.tar.gz src-24ef74209add6618ee89bbaf526f703719354847.zip |
inode should be different to actually mean mandocdb is in used
Sponsored by: gandi.net
Notes
Notes:
svn path=/head/; revision=285836
Diffstat (limited to 'usr.bin/man')
-rwxr-xr-x | usr.bin/man/man.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 "$@" } |