From e2aa39b8395b082c6bd58eb3ffcffc0b53c23c5e Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Mon, 6 Dec 2010 16:30:40 -0800 Subject: remove env check to inhibit errloc from API. --- lib/Vyatta/Config.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib') 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"; } -- cgit v1.2.3