[icinga-checkins] icinga.org: icinga-core/fholzer/core: chomp() osversion

git at icinga.org git at icinga.org
Mon Apr 23 08:00:06 CEST 2012


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

Author: Alexander Wirt <formorer at debian.org>
Date:   Sun Apr 22 09:28:47 2012 +0200

chomp() osversion

---

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

diff --git a/tools/icinga_verification.pl b/tools/icinga_verification.pl
index 64bd997..431a94c 100644
--- a/tools/icinga_verification.pl
+++ b/tools/icinga_verification.pl
@@ -108,6 +108,7 @@ my $perlversion = $^V;
 
 # Kernel version
 my $osversion = which('uname') ? qx(uname -rp) : 'uname binary not found';
+chomp($osversion);
 
 # PHP Version
 my $phpversion = which('php') ? (qx(php -v))[0] : 'php binary not found';





More information about the icinga-checkins mailing list