summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Config.pm
diff options
context:
space:
mode:
authorroot <root@debian.vyatta.com>2010-10-15 15:03:24 -0700
committerroot <root@debian.vyatta.com>2010-10-15 15:03:24 -0700
commit34ae713a1d131c020473bf75e7c374b6e9041e61 (patch)
treeb52324200e128e49ac0bca8008a75ead213a2ad2 /lib/Vyatta/Config.pm
parentbec81a0c8c827512e8b6236aa43016557353c913 (diff)
downloadvyatta-cfg-34ae713a1d131c020473bf75e7c374b6e9041e61.tar.gz
vyatta-cfg-34ae713a1d131c020473bf75e7c374b6e9041e61.zip
allow error output to be accessed without config object.
Diffstat (limited to 'lib/Vyatta/Config.pm')
-rwxr-xr-xlib/Vyatta/Config.pm2
1 files changed, 1 insertions, 1 deletions
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) {