From: Ton Voon Date: Wed, 17 Sep 2003 09:25:02 +0000 (+0000) Subject: Hide error message if docbook not available X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a0e099de2bb62c6b48587d75b2601f605ff14aad;p=nagiosplug.git Hide error message if docbook not available git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@733 f882894a-f735-0410-b71e-b25c423dba1c --- diff --git a/tools/setup b/tools/setup index a90d48a..d421791 100755 --- a/tools/setup +++ b/tools/setup @@ -35,7 +35,7 @@ if [ `uname -s` = "SunOS" ] ; then docbook=1 fi else - if which docbook2html ; then + if which docbook2html >/dev/null 2>&1; then docbook=1 fi fi