From a0e099de2bb62c6b48587d75b2601f605ff14aad Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 17 Sep 2003 09:25:02 +0000 Subject: 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 --- tools/setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/setup') diff --git a/tools/setup b/tools/setup index a90d48aa..d421791e 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 -- cgit v1.2.3