Skip to content

Commit

Permalink
fix mdstat count drives
Browse files Browse the repository at this point in the history
see #14
  • Loading branch information
Gemorroj authored Dec 5, 2020
1 parent 19f384f commit 6b163eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Linfo/OS/Linux.php
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ public function getRAID()
'level' => $array[3],
'drives' => $drives,
'size' => Common::byteConvert($array[5] * 1024),
'count' => $array[6],
'count' => (int) $array[6],
'chart' => $array[7],
);
}
Expand Down

0 comments on commit 6b163eb

Please sign in to comment.