Improve F10 OS version detection

This commit is contained in:
laelly
2018-02-10 01:50:27 +01:00
parent f2f95150bd
commit 445b3f19a3

View File

@@ -89,7 +89,7 @@ sub os_ver {
my $descr = $force10->description();
my $os_ver = undef;
$os_ver = $1 if ( $descr =~ /Force10\s+Application\s+Software\s+Version:\s+(\S+)/s );
$os_ver = $1 if ( $descr =~ /\s+Application\s+Software\s+Version:\s+(\S+)/s );
return $os_ver;
}