Code

Hide error message if docbook not available
authorTon Voon <tonvoon@users.sourceforge.net>
Wed, 17 Sep 2003 09:25:02 +0000 (09:25 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Wed, 17 Sep 2003 09:25:02 +0000 (09:25 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@733 f882894a-f735-0410-b71e-b25c423dba1c

tools/setup

index a90d48aa58b0576f22471f76b83fcce112d04d70..d421791ea9e6f8aa2fc590e52b4845dcd7c06648 100755 (executable)
@@ -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