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 $os_id = get_os_id($dbh, $agent->{'os'});
|
||||
|
||||
if (!$os_id) {
|
||||
if ($os_id < 0) {
|
||||
$os_id = get_os_id($dbh, 'Other');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue