From d4ab377dc7f4079211cdf93fce079be3b8463809 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 10 Jun 2010 10:20:09 -0400 Subject: [PATCH] Fixed a warning messages in installer and updater. --- install/lib/installer_base.lib.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index 56a6f16..3c9fdf6 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -520,7 +520,7 @@ //** We have to change the permissions of the courier authdaemon directory to make it accessible for maildrop. $command = 'chmod 755 /var/run/courier/authdaemon/'; - caselog($command.' &> /dev/null', __FILE__, __LINE__, 'EXECUTED: '.$command, 'Failed to execute the command '.$command); + if(is_file('/var/run/courier/authdaemon/')) caselog($command.' &> /dev/null', __FILE__, __LINE__, 'EXECUTED: '.$command, 'Failed to execute the command '.$command); //* Changing maildrop lines in posfix master.cf if(is_file($config_dir.'/master.cf')){ -- Gitblit v1.9.1