Compare commits

...

1 Commits

Author SHA1 Message Date
Ilia Ross
2c8ec1bfff Fix not to return short hostname unless set 2023-08-25 15:58:35 +03:00

View File

@@ -4329,8 +4329,8 @@ if (!$main::get_system_hostname[$m]) {
if ($fromfile && ($m || $fromfile =~ /\./)) {
if ($m) {
$fromfile =~ s/\..*$//;
$main::get_system_hostname[$m] = $fromfile;
}
$main::get_system_hostname[$m] = $fromfile;
return $fromfile;
}