Skip to content

Commit

Permalink
Merge pull request #4281
Browse files Browse the repository at this point in the history
e956b4f tails: fix detection (tobtoht)
  • Loading branch information
luigi1111 committed Mar 9, 2024
2 parents ecec7bc + e956b4f commit 51a4334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/TailsOS.cpp
Expand Up @@ -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();

Expand Down

0 comments on commit 51a4334

Please sign in to comment.