mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Added signal control in eval (discovery)
This commit is contained in:
parent
a32fe84ca0
commit
8133515b6c
@ -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 = ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user