remove die() calls

This commit is contained in:
Oliver Gorwits
2017-10-07 11:39:17 +01:00
parent b8108986fb
commit 08b34e083d
3 changed files with 5 additions and 7 deletions

View File

@@ -34,7 +34,7 @@ sub gather_subnets {
my @subnets = ();
my $snmp = App::Netdisco::Transport::SNMP->reader_for($device)
or die "arpnip failed: could not SNMP connect to $device";
or return (); # already checked!
my $ip_netmask = $snmp->ip_netmask;
foreach my $entry (keys %$ip_netmask) {