mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Avoid to overwrite the os_version when is empty
This commit is contained in:
parent
ab3b6838b9
commit
787fb00d16
@ -312,7 +312,7 @@ sub process_xml_data ($$$$$) {
|
||||
|
||||
# Check some variables
|
||||
$interval = 300 if (! defined ($interval) || $interval eq '');
|
||||
$os_version = 'N/A' if (! defined ($os_version) || $os_version eq '');
|
||||
$os_version = undef if (! defined ($os_version) || $os_version eq '');
|
||||
|
||||
# Get agent address from the XML if available
|
||||
my $address = '' ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user