Commit e085203a authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Added missing $sysdir to exclude-data

parent 931af67a
......@@ -457,6 +457,8 @@ sub backup
}
# Check if we excluding data dirs
if (defined($config{'exclude-data'})) {
# Loop through system dirs
foreach my $sysdir (@{$config{'system-base'}}) {
# Loop with data dirs
foreach my $excl (@defaultDataExcl,@{$config{'data-dir'}}) {
# Sanitize path
......@@ -469,6 +471,7 @@ sub backup
}
}
}
}
# Exclude paths
foreach my $item (@{$config{'exclude-path'}}) {
# Check...
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment