Merge pull request #247 from laelly/master

Improve F10 OS version detection
This commit is contained in:
Jeroen van Ingen Schenau
2018-02-12 09:10:05 +01:00
committed by GitHub

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;
}