[icinga-checkins] icinga.org: icinga-core/fholzer/core: Nicer declaration of variables

git at icinga.org git at icinga.org
Fri Apr 20 20:42:05 CEST 2012


Module: icinga-core
Branch: fholzer/core
Commit: 29f79cea575d9bb54fccbbf74a130523596fd369
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=29f79cea575d9bb54fccbbf74a130523596fd369

Author: Alexander Wirt <formorer at grml.org>
Date:   Fri Apr 20 16:10:43 2012 +0200

Nicer declaration of variables

---

 tools/icinga_verification.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/icinga_verification.pl b/tools/icinga_verification.pl
index 6952261..904fb06 100644
--- a/tools/icinga_verification.pl
+++ b/tools/icinga_verification.pl
@@ -40,7 +40,7 @@ if( $oscheck eq 'MSWin32' ){
 }
 # MySQL Config if MySQL is used
 my $mysqlcheck = qx(which mysql);
-my $mysqldb = '';
+my ( $mysqldb, $mysqlserver, $mysqluser, $mysqlpw ) = '';
 my $mysqlserver = '';
 my $mysqluser = '';
 my $mysqlpw = '';





More information about the icinga-checkins mailing list