aboutsummaryrefslogtreecommitdiff
path: root/src/qt/TailsOS.cpp
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2024-02-28 15:58:06 +0100
committertobtoht <tob@featherwallet.org>2024-02-28 15:58:06 +0100
commite956b4ff15c3a96b3b6173eee30febb2848499f6 (patch)
tree718c4fbd55147ab9767abe8c3f8120a68df7b270 /src/qt/TailsOS.cpp
parentdc3441f2586fdc91287f1f788a6885d1247850e6 (diff)
downloadmonzero-gui-e956b4ff15c3a96b3b6173eee30febb2848499f6.tar.gz
monzero-gui-e956b4ff15c3a96b3b6173eee30febb2848499f6.tar.xz
monzero-gui-e956b4ff15c3a96b3b6173eee30febb2848499f6.zip
tails: fix detection
Diffstat (limited to 'src/qt/TailsOS.cpp')
-rw-r--r--src/qt/TailsOS.cpp2
1 files changed, 1 insertions, 1 deletions
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();