diff options
author | root <root@debian.vyatta.com> | 2010-10-15 15:03:24 -0700 |
---|---|---|
committer | root <root@debian.vyatta.com> | 2010-10-15 15:03:24 -0700 |
commit | 34ae713a1d131c020473bf75e7c374b6e9041e61 (patch) | |
tree | b52324200e128e49ac0bca8008a75ead213a2ad2 /lib/Vyatta/Config.pm | |
parent | bec81a0c8c827512e8b6236aa43016557353c913 (diff) | |
download | vyatta-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-x | lib/Vyatta/Config.pm | 2 |
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) { |