We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc3441f commit e956b4fCopy full SHA for e956b4f
src/qt/TailsOS.cpp
@@ -14,7 +14,7 @@ bool TailsOS::detect()
14
return false;
15
16
QByteArray data = fileOpen("/etc/os-release");
17
- QRegularExpression re("TAILS_PRODUCT_NAME=\"Tails\"");
+ QRegularExpression re("NAME=\"Tails\"");
18
QRegularExpressionMatch os_match = re.match(data);
19
bool matched = os_match.hasMatch();
20
0 commit comments