From: Stephen L Johnson Date: Thu, 17 Jan 2002 17:02:12 +0000 (+0000) Subject: added $@ to error log text in load_modules X-Git-Tag: spong-2_7_7~20 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3bbf57bc5d5a26794948a37bcb79327e279b7fd;p=spong.git added $@ to error log text in load_modules --- diff --git a/src/spong-client.pl b/src/spong-client.pl index 11a6c8c..0d8b7da 100755 --- a/src/spong-client.pl +++ b/src/spong-client.pl @@ -12,7 +12,7 @@ # History: # (1) Ported bb-local.sh script to perl. (Ed Hill Feb 26, 1997) # -# $Id: spong-client.pl,v 1.19 2001/06/20 17:10:22 supermathie Exp $ +# $Id: spong-client.pl,v 1.20 2002/01/17 17:02:12 sljohnson Exp $ use lib '@@LIBDIR@@'; @@ -268,7 +268,7 @@ sub load_checks { foreach $check (split / /,$CHECKS) { &debug( "Loading client check $check", 3 ); eval "require 'Spong/Client/plugins/check_$check';"; - if ( $@ ) { &error( "Could not load $check check plugin" ); } + if ( $@ ) { &error( "Could not load $check check plugin: $@" ); } } if (defined &check_local) {