From 34ae713a1d131c020473bf75e7c374b6e9041e61 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 15 Oct 2010 15:03:24 -0700 Subject: allow error output to be accessed without config object. --- lib/Vyatta/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Vyatta') diff --git a/lib/Vyatta/Config.pm b/lib/Vyatta/Config.pm index 1488c3d..e8fda29 100755 --- a/lib/Vyatta/Config.pm +++ b/lib/Vyatta/Config.pm @@ -677,7 +677,7 @@ sub compareValueLists { } sub outputError { - my ($self, $location, $msg) = @_; + my ($location, $msg) = @_; print STDERR $msg . "\n"; if (defined($ENV{VYATTA_OUTPUT_ERROR_LOCATION})) { foreach my $elem (@$location) { -- cgit v1.2.3