diff --git a/server/lib/classes/system.inc.php b/server/lib/classes/system.inc.php index 93cd524162badfe608ba06637b70623d41c9d1b5..978a891b422f4fccad1cdf712867d467052bbfc7 100644 --- a/server/lib/classes/system.inc.php +++ b/server/lib/classes/system.inc.php @@ -1803,7 +1803,9 @@ class system{ function mount_backup_dir($backup_dir, $mount_cmd = '/usr/local/ispconfig/server/scripts/backup_dir_mount.sh'){ global $app, $conf; - + + if($this->is_mounted($backup_dir)) return true; + $mounted = true; if ( is_file($mount_cmd) && is_executable($mount_cmd) &&