Skip to content

Commit

Permalink
- import: override properties by CLI does now work
Browse files Browse the repository at this point in the history
  • Loading branch information
hadfl committed Jul 30, 2014
1 parent 9d25e4d commit e81e756
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/znapzendzetup
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,12 @@ sub main {

$cfg{src} = pop @ARGV;

#merge properties by CLI
for my $prop (@props){
my ($key, $value) = split /=/, $prop, 2;
$cfg{$key} = $value;
}

#check new backup set
$zConfig->checkBackupSet(\%cfg);

Expand Down

0 comments on commit e81e756

Please sign in to comment.