Skip to content

Commit e956b4f

Browse files
committed
tails: fix detection
1 parent dc3441f commit e956b4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/TailsOS.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ bool TailsOS::detect()
1414
return false;
1515

1616
QByteArray data = fileOpen("/etc/os-release");
17-
QRegularExpression re("TAILS_PRODUCT_NAME=\"Tails\"");
17+
QRegularExpression re("NAME=\"Tails\"");
1818
QRegularExpressionMatch os_match = re.match(data);
1919
bool matched = os_match.hasMatch();
2020

0 commit comments

Comments
 (0)