From 9df2df7e4d4e40360acb00c677c8abe5966a9640 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 26 Mar 2013 08:42:12 -0400
Subject: [PATCH] Fixed: FS#2777 - postmap not executed on virtual mailman file when a mailinglist has been created

---
 server/lib/classes/system.inc.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/server/lib/classes/system.inc.php b/server/lib/classes/system.inc.php
index 07bcc64..1de54e2 100644
--- a/server/lib/classes/system.inc.php
+++ b/server/lib/classes/system.inc.php
@@ -1539,7 +1539,8 @@
     }
 	
 	function is_mounted($mountpoint){
-		$cmd = 'df 2>/dev/null | grep " '.$mountpoint.'$"';
+		//$cmd = 'df 2>/dev/null | grep " '.$mountpoint.'$"';
+		$cmd = 'mount 2>/dev/null | grep " on '.$mountpoint.' type "';
 		exec($cmd, $output, $return_var);
 		return $return_var == 0 ? true : false; 
 	}

--
Gitblit v1.9.1