Fix up whatis/apropos issue displaying all output on a single due to

forgotten quotes.

Submitted by:	Brandon Gooch
Approved by:	wes (mentor, implicit)
This commit is contained in:
Gordon Tetlow 2010-10-02 06:55:04 +00:00
parent a22b69b772
commit 00e05e697e

View File

@ -719,11 +719,11 @@ search_whatis() {
bad=${bad#\\n}
if [ -n "$good" ]; then
echo -e $good | $PAGER
echo -e "$good" | $PAGER
fi
if [ -n "$bad" ]; then
echo -e $bad >&2
echo -e "$bad" >&2
fi
exit $rval