diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index d3e965133c..75665d73c1 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,7 @@ +2012-04-18 Koichiro Kikuchi + + * util/pandora_db.pl: Fixed syntax error. + 2012-04-18 Dario Rodriguez * pandora_server_installer: Fixed a problem setting permissions diff --git a/pandora_server/util/pandora_db.pl b/pandora_server/util/pandora_db.pl index ec9678d188..d042ca8e6b 100755 --- a/pandora_server/util/pandora_db.pl +++ b/pandora_server/util/pandora_db.pl @@ -345,13 +345,13 @@ sub pandora_init ($) { if ($param =~ m/-p\z/i) { $conf->{'_onlypurge'} = 1; } - else if ($param =~ m/-v\z/i) { + elsif ($param =~ m/-v\z/i) { $conf->{'_verbose'} = 1; } - else if ($param =~ m/-q\z/i) { + elsif ($param =~ m/-q\z/i) { $conf->{'_quiet'} = 1; } - else if ($param =~ m/-d\z/i) { + elsif ($param =~ m/-d\z/i) { $conf->{'_debug'} = 1; } }