summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSExport/FileSystem/NFS.pm
diff options
context:
space:
mode:
Diffstat (limited to 'installer/OpenSLX/OSExport/FileSystem/NFS.pm')
-rw-r--r--installer/OpenSLX/OSExport/FileSystem/NFS.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/installer/OpenSLX/OSExport/FileSystem/NFS.pm b/installer/OpenSLX/OSExport/FileSystem/NFS.pm
index e858f513..1c4f5fbf 100644
--- a/installer/OpenSLX/OSExport/FileSystem/NFS.pm
+++ b/installer/OpenSLX/OSExport/FileSystem/NFS.pm
@@ -147,7 +147,10 @@ sub _copyViaRsync
my $includeExcludeList = $self->_determineIncludeExcludeList();
vlog(1, _tr("using include-exclude-filter:\n%s\n", $includeExcludeList));
my $rsyncFH;
- open($rsyncFH, '|-', "rsync -av --delete --exclude-from=- $source/ $target")
+ open(
+ $rsyncFH, '|-',
+ "rsync -av --delete-excluded --exclude-from=- $source/ $target"
+ )
or die _tr("unable to start rsync for source '%s', giving up! (%s)",
$source, $!);
print $rsyncFH $includeExcludeList;