diff --git a/inxi b/inxi index c5819d5..be1a8ac 100755 --- a/inxi +++ b/inxi @@ -7453,7 +7453,7 @@ get_optical_drive_data_bsd() aDisks[nr, "serial"] = $NF } if ( $NF ~ /[GM]B\/s/ ){ - speed=gensub(/^[0-9\.]+[[:space:]]*[GM]B\/s).*/,"\\1",1,$NF) + speed=gensub(/^([0-9\.]+[[:space:]]*[GM]B\/s).*/,"\\1",1,$NF) sub(/\.[0-9]+/,"",speed) if ( speed ~ /^[0-9]+/ ) { aDisks[nr, "speed"] = speed