diff --git a/src/Linfo/OS/Linux.php b/src/Linfo/OS/Linux.php index b879e457..d77ef913 100644 --- a/src/Linfo/OS/Linux.php +++ b/src/Linfo/OS/Linux.php @@ -397,7 +397,7 @@ public function getHD() $parts = explode('/', $path); // Attempt getting read/write stats - if (preg_match('/^(\d+)\s+\d+\s+\d+\s+\d+\s+(\d+)\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+$/', Common::getContents(dirname(dirname($path)).'/stat'), $statMatches) !== 1) { + if (preg_match('/^(\d+)\s+\d+\s+\d+\s+\d+\s+(\d+)/', Common::getContents(dirname(dirname($path)).'/stat'), $statMatches) !== 1) { // Didn't get it $reads = false; $writes = false;