mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-08-19 00:39:38 +02:00
Avoid to overwrite the os_version when is empty
This commit is contained in:
parent
e084de2547
commit
631bd3f3ce
@ -306,7 +306,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