We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f277211 commit b4986b5Copy full SHA for b4986b5
bin/backup.pl
@@ -32,8 +32,8 @@
32
"size=i" => \$size,
33
);
34
# TODO: find a better way
35
-my @es_mode = ( $mode ? mode => $mode : () );
36
-$mode eq 'test' and Log::Log4perl::init('log4perl_test.conf');
+my @es_mode = ( $mode ? (mode => $mode) : () );
+$mode and $mode eq 'test' and Log::Log4perl::init('log4perl_test.conf');
37
38
# setup
39
my $home = home();
0 commit comments