From b7e1d8e64b21bab43b705f57e0b679bfe659d5fb Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Fri, 30 Nov 2012 08:19:22 -0500 Subject: [PATCH] Fixed a log mount error. --- server/plugins-available/apache2_plugin.inc.php | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php index 3770590..f8fdfcc 100644 --- a/server/plugins-available/apache2_plugin.inc.php +++ b/server/plugins-available/apache2_plugin.inc.php @@ -478,6 +478,9 @@ //* remove old log mount $fstab_line = '/var/log/ispconfig/httpd/'.$data['old']['domain'].' '.$data['old']['document_root'].'/'.$log_folder.' none bind'; $app->system->removeLine('/etc/fstab',$fstab_line); + + //* Unmount log directory + exec('umount '.escapeshellarg($data['old']['document_root'].'/'.$log_folder)); } //* Create the log dir if nescessary and mount it -- Gitblit v1.9.1