projects
/
bucardo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47640da
)
Make sure logdest gets forced to an arrayref.
author
Greg Sabino Mullane
<greg@endpoint.com>
Tue, 19 Feb 2013 19:36:16 +0000
(14:36 -0500)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Tue, 19 Feb 2013 19:36:16 +0000
(14:36 -0500)
bucardo
patch
|
blob
|
blame
|
history
diff --git
a/bucardo
b/bucardo
index a0d4660212eb02be1e2cf61bec695bfdb291b26f..6841c59482953bd103c0f2d3aab41573e07e1aa6 100755
(executable)
--- a/
bucardo
+++ b/
bucardo
@@
-112,7
+112,7
@@
if (defined $file) {
## Format is foo=bar or foo:bar, with whitespace allowed
next unless /^\s*(\w[\w-]+)\s*[:=]\s*(.+?)\s*$/o;
my ($name,$value) = ($1,$2); ## no critic (ProhibitCaptureWithoutTest)
- $bcargs->{$name} = $value;
+ $bcargs->{$name} = $
name eq 'logdest' ? [$value] : $
value;
}
close $rc or die;
}