From 76f1973448c7dc481f0cf2b1d2b02d9a65c4066c Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Fri, 27 Feb 2009 11:54:01 -0500 Subject: [PATCH] Fixed centos installer bugs. --- install/lib/install.lib.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/install/lib/install.lib.php b/install/lib/install.lib.php index 4af0d54..23e27b2 100644 --- a/install/lib/install.lib.php +++ b/install/lib/install.lib.php @@ -558,7 +558,7 @@ } function is_installed($appname) { - exec('which '.escapeshellcmd($appname),$out); + exec('which '.escapeshellcmd($appname).' > /dev/null 2> /dev/null',$out); if(isset($out[0]) && stristr($out[0],$appname)) { return true; } else { -- Gitblit v1.9.1