[icinga-checkins] icinga.org: icinga-core/fholzer/core: And really use it

git at icinga.org git at icinga.org
Mon Apr 23 14:12:18 CEST 2012


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

Author: Alexander Wirt <formorer at grml.org>
Date:   Mon Apr 23 13:24:49 2012 +0200

And really use it

---

 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 c372f0a..485ce31 100644
--- a/tools/icinga_verification.pl
+++ b/tools/icinga_verification.pl
@@ -366,7 +366,7 @@ sub which (@) {
 
     foreach my $binary (@binaries) {
         map { -x "$_/$binary" && return "$_/$binary" }
-            reverse( split( ':', $PATH ) );
+            @path );
     }
     return undef;
 }





More information about the icinga-checkins mailing list