Skip to content

Commit 9f824a7

Browse files
author
Marius Burkard
committed
- fixed bug preventing backups on mounted dir
1 parent 8445649 commit 9f824a7

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)