summaryrefslogtreecommitdiffstats
path: root/usr.bin/man
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-07-24 09:20:02 +0000
committerbapt <bapt@FreeBSD.org>2015-07-24 09:20:02 +0000
commit883b6dee615f165f7859342c5d9b870a93e2abd2 (patch)
treeb9ef0c1f6d0b79cba964a92f1f980aa1784c912a /usr.bin/man
parenteaa94ad7a39a6df7c6c5da4ed9faf9c1ad1b9a07 (diff)
downloadFreeBSD-src-883b6dee615f165f7859342c5d9b870a93e2abd2.zip
FreeBSD-src-883b6dee615f165f7859342c5d9b870a93e2abd2.tar.gz
inode should be different to actually mean mandocdb is in used
Sponsored by: gandi.net
Diffstat (limited to 'usr.bin/man')
-rwxr-xr-xusr.bin/man/man.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/man/man.sh b/usr.bin/man/man.sh
index 504ca0c..e125e5b 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 "$@"
}
OpenPOWER on IntegriCloud