mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Only skip looking for manpages if both man directory and cat directory
are not existing. This allows man(1) to read catpages when no man directories are available at all PR: 223559 Reported by: wosch MFC after: 3 days
This commit is contained in:
parent
d9405a926c
commit
625490e842
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326527
|
@ -201,7 +201,7 @@ find_file() {
|
|||
catroot="$catroot/$3"
|
||||
fi
|
||||
|
||||
if [ ! -d "$manroot" ]; then
|
||||
if [ ! -d "$manroot" -a ! -d "$catroot" ]; then
|
||||
return 1
|
||||
fi
|
||||
decho " Searching directory $manroot" 2
|
||||
|
|
Loading…
Reference in a new issue