summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Larson <mike@vyatta.com>2010-12-06 16:30:40 -0800
committerMichael Larson <mike@vyatta.com>2010-12-06 16:30:40 -0800
commite2aa39b8395b082c6bd58eb3ffcffc0b53c23c5e (patch)
treed6969aa8c0961e6ca836d6544a0cf879f68dd49f /lib
parent8c75a58cc447651c25b03aeedb6ad94a21ddd308 (diff)
downloadvyatta-cfg-e2aa39b8395b082c6bd58eb3ffcffc0b53c23c5e.tar.gz
vyatta-cfg-e2aa39b8395b082c6bd58eb3ffcffc0b53c23c5e.zip
remove env check to inhibit errloc from API.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Vyatta/Config.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Vyatta/Config.pm b/lib/Vyatta/Config.pm
index 914230a..e66c317 100755
--- a/lib/Vyatta/Config.pm
+++ b/lib/Vyatta/Config.pm
@@ -693,9 +693,7 @@ sub compareValueLists {
sub outputError {
my ($location,$msg) = @_;
- if (defined($ENV{VYATTA_OUTPUT_ERROR_LOCATION})) {
- print STDERR "_errloc_:[" . join(" ",@{$location}) . "]\n";
- }
+ print STDERR "_errloc_:[" . join(" ",@{$location}) . "]\n";
print STDERR $msg . "\n";
}