diff options
author | Michael Larson <mike@vyatta.com> | 2010-12-06 16:30:40 -0800 |
---|---|---|
committer | Michael Larson <mike@vyatta.com> | 2010-12-06 16:30:40 -0800 |
commit | e2aa39b8395b082c6bd58eb3ffcffc0b53c23c5e (patch) | |
tree | d6969aa8c0961e6ca836d6544a0cf879f68dd49f /lib | |
parent | 8c75a58cc447651c25b03aeedb6ad94a21ddd308 (diff) | |
download | vyatta-cfg-e2aa39b8395b082c6bd58eb3ffcffc0b53c23c5e.tar.gz vyatta-cfg-e2aa39b8395b082c6bd58eb3ffcffc0b53c23c5e.zip |
remove env check to inhibit errloc from API.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Vyatta/Config.pm | 4 |
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"; } |