From dc3e1ab41efaf937fce4a5567391ec1e958fb4ee Mon Sep 17 00:00:00 2001 From: koichirok Date: Wed, 18 Apr 2012 09:24:56 +0000 Subject: [PATCH] 2012-04-18 Koichiro Kikuchi * util/pandora_db.pl: Fixed syntax error. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 4 ++++ pandora_server/util/pandora_db.pl | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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; } }