mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
minor fix
Former-commit-id: a012c8155cd1d950044bc2c0531ee2abd9e89d07
This commit is contained in:
parent
56f2acbbf1
commit
1274380270
@ -455,7 +455,7 @@ sub PandoraFMS::Recon::Base::create_agents($$) {
|
|||||||
my $agent_id;
|
my $agent_id;
|
||||||
my $os_id = get_os_id($dbh, $agent->{'os'});
|
my $os_id = get_os_id($dbh, $agent->{'os'});
|
||||||
|
|
||||||
if (!$os_id) {
|
if ($os_id < 0) {
|
||||||
$os_id = get_os_id($dbh, 'Other');
|
$os_id = get_os_id($dbh, 'Other');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user