From e956b4ff15c3a96b3b6173eee30febb2848499f6 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Wed, 28 Feb 2024 15:58:06 +0100 Subject: [PATCH] tails: fix detection --- src/qt/TailsOS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/TailsOS.cpp b/src/qt/TailsOS.cpp index a307d85731..1ab1572179 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();