diff options
| author | tobtoht <tob@featherwallet.org> | 2024-02-28 15:58:06 +0100 |
|---|---|---|
| committer | tobtoht <tob@featherwallet.org> | 2024-02-28 15:58:06 +0100 |
| commit | e956b4ff15c3a96b3b6173eee30febb2848499f6 (patch) | |
| tree | 718c4fbd55147ab9767abe8c3f8120a68df7b270 /src/qt/TailsOS.cpp | |
| parent | dc3441f2586fdc91287f1f788a6885d1247850e6 (diff) | |
| download | monzero-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.cpp | 2 |
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(); |
