diff --git a/src/core/raid/softwareraid.cpp b/src/core/raid/softwareraid.cpp index 2da301e..cb22899 100644 --- a/src/core/raid/softwareraid.cpp +++ b/src/core/raid/softwareraid.cpp @@ -131,7 +131,7 @@ void SoftwareRAID::scanSoftwareRAID(QList& devices) ExternalCommand scanRaid(QStringLiteral("cat"), { QStringLiteral("/proc/mdstat") }); if (scanRaid.run(-1) && scanRaid.exitCode() == 0) { - QRegularExpression re(QStringLiteral("md(\\d+)\\s+:")); + QRegularExpression re(QStringLiteral("md([\\/\\w]+)\\s+:")); QRegularExpressionMatchIterator i = re.globalMatch(scanRaid.output()); while (i.hasNext()) { QRegularExpressionMatch reMatch = i.next();