summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/conncmp.pl7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/conncmp.pl b/scripts/conncmp.pl
index 86b27de..7de7db2 100755
--- a/scripts/conncmp.pl
+++ b/scripts/conncmp.pl
@@ -60,7 +60,10 @@ for (@eq) {
}
PIN: for $pin (keys %a) {
- die "A.$pin has no matching B.$pin" unless defined $b{$pin};
+ if (!defined $b{$pin}) {
+ warn "A.$pin has no matching B.$pin\n";
+ next;
+ }
my $a = $a{$pin};
my $b = $b{$pin};
delete $b{$pin};
@@ -82,5 +85,5 @@ PIN: for $pin (keys %a) {
}
for $pin (keys %b) {
- die "B.$pin has no matching A.$pin";
+ warn "B.$pin has no matching A.$pin\n";
}