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

Fixed bug where --exclude-data didn't work

parent 730441c5
......@@ -103,6 +103,7 @@ my %config = (
'log-level' => LOG_NOTICE,
'tar' => 'tar',
'exclude-system' => 0,
'exclude-data' => 0,
'backup-upgrade' => 0,
'compress' => "bzip2"
);
......@@ -315,6 +316,10 @@ if (defined($optctl{'exclude-system'})) {
$config{'exclude-system'} = 1;
}
if (defined($optctl{'exclude-data'})) {
$config{'exclude-data'} = 1;
}
if (defined($optctl{'system-base'})) {
push(@{$config{'system-base'}},@{$optctl{'system-base'}});
}
......
Markdown is supported
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