[interchange] Print "...failed." on catalog configuration errors and remove duplicate error message.

Stefan Hornburg interchange-cvs at icdevgroup.org
Thu Jul 15 13:24:47 UTC 2010


commit 46de7d9f98208d83768c4b33d648974e9e5416d5
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Thu Jul 15 15:21:45 2010 +0200

    Print "...failed." on catalog configuration errors and remove duplicate error message.

 scripts/interchange.PL |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/interchange.PL b/scripts/interchange.PL
index 8ccbc11..d58d9a4 100644
--- a/scripts/interchange.PL
+++ b/scripts/interchange.PL
@@ -903,11 +903,11 @@ EOF
 			# See if catalog configuration erred in some way....
 			if ($@ or ! defined $c) {
 				my $msg = $@;
-				print "\n$msg\n\a$g->{'name'}: error in configuration. Skipping.\n";
 				$msg =~ s/\s+$//;
 				$msg = " -- $msg" if $msg;
 				logGlobal $g->{'name'} . ": config error$msg. Skipping.";
 				undef $Global::Selector{$g->{'script'}};
+				print "failed.\n"  unless $Vend::Quiet or $g->{name} =~ /^_/;
 				next;
 			}
 



More information about the interchange-cvs mailing list