Skip to content

Commit a5bd6a8

Browse files
author
Till Brehm
committed
Merge branch 'stable-3.1' of git.ispconfig.org:ispconfig/ispconfig3 into stable-3.1
2 parents 2b3dfac + b542800 commit a5bd6a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

server/lib/classes/system.inc.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1803,7 +1803,9 @@ function is_mounted($mountpoint){
18031803

18041804
function mount_backup_dir($backup_dir, $mount_cmd = '/usr/local/ispconfig/server/scripts/backup_dir_mount.sh'){
18051805
global $app, $conf;
1806-
1806+
1807+
if($this->is_mounted($backup_dir)) return true;
1808+
18071809
$mounted = true;
18081810
if ( is_file($mount_cmd) &&
18091811
is_executable($mount_cmd) &&

0 commit comments

Comments
 (0)