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
@ -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 New Issue
Block a user