From 29d5acb7c821c8be23b32be9e01b242efad5b872 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Tue, 28 Aug 2007 03:19:45 +0000 Subject: These plugins assumed the "use lib util.pm;" would be substituted like standard Perl plugins (in plugins-scripts) which isn't the case in contrib. I changed the "use lib" line to use the default path. People using custom paths will have to change it manually. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1771 f882894a-f735-0410-b71e-b25c423dba1c --- contrib/check_linux_raid.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/check_linux_raid.pl') diff --git a/contrib/check_linux_raid.pl b/contrib/check_linux_raid.pl index 11bc3cdc..da1aff84 100644 --- a/contrib/check_linux_raid.pl +++ b/contrib/check_linux_raid.pl @@ -23,7 +23,7 @@ # WARNING md0 status=[UUU_U], recovery=46.4%, finish=123.0min use strict; -use lib utils.pm; +use lib "/usr/local/nagios/libexec"; use utils qw(%ERRORS); # die with an error if we're not on Linux -- cgit v1.2.3-74-g34f1