Skip to content

Instantly share code, notes, and snippets.

@theory
Created August 8, 2019 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theory/c64e5d5d3f267ab140ee1763f451cb86 to your computer and use it in GitHub Desktop.
Save theory/c64e5d5d3f267ab140ee1763f451cb86 to your computer and use it in GitHub Desktop.
--- a/bucardo
+++ b/bucardo
@@ -8755,7 +8755,8 @@ sub config {
for my $noun (@nouns) {
$noun =~ /(\w+)=(.+)/ or die $setusage;
- my ($setting,$val) = (lc $1,$2);
+ my $setting = lc $1;
+ my $val = $setting eq 'log_timer_format' ? $2 : lc $2;
if (! exists $config->{$setting}) {
die qq{Unknown setting "$setting"\n};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment