diff --git a/src/qt/TailsOS.cpp b/src/qt/TailsOS.cpp index a307d857..1ab15721 100644 --- a/src/qt/TailsOS.cpp +++ b/src/qt/TailsOS.cpp @@ -14,7 +14,7 @@ bool TailsOS::detect() return false; QByteArray data = fileOpen("/etc/os-release"); - QRegularExpression re("TAILS_PRODUCT_NAME=\"Tails\""); + QRegularExpression re("NAME=\"Tails\""); QRegularExpressionMatch os_match = re.match(data); bool matched = os_match.hasMatch();