Skip to content

Commit

Permalink
Fix io issue with modern Linux versions
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Cameron <[email protected]>
  • Loading branch information
Nick Cameron committed Jan 23, 2020
1 parent 97922cb commit b57d44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl IOLoad {
.split_whitespace()
.map(|w| w.parse().unwrap_or_default())
.collect::<Vec<f64>>();
if parts.len() != 11 {
if parts.len() < 11 {
continue;
}
let load = IOLoad {
Expand Down

0 comments on commit b57d44d

Please sign in to comment.