Added signal control in eval (discovery)

This commit is contained in:
fbsanchez 2022-01-25 21:59:31 +01:00
parent a32fe84ca0
commit 8133515b6c
1 changed files with 2 additions and 0 deletions

View File

@ -190,6 +190,8 @@ sub data_consumer ($$) {
}
eval {
local $SIG{__DIE__};
my @subnets = split(/,/, safe_output($task->{'subnet'}));
my @communities = split(/,/, safe_output($task->{'snmp_community'}));
my @auth_strings = ();