Skip to content

Commit 92547fd

Browse files
committed
linux: Fix checkLinuxSystemInfo for Win/Mac
1 parent 79f7adf commit 92547fd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

checks/linux.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,7 @@ def checkLinuxSystemInfo(lines):
185185
linuxDistroOrFlatpak = 'Distribution: ' + checkDistro(lines)[1]
186186
linuxSystemInfoHelp = ''
187187
else:
188-
# I have never seen this, but you never know
189-
linuxDistroOrFlatpak = 'Distribution: ⚠️ None'
190-
linuxSystemInfoHelp = 'No distribution detected. This can lead to undefined behaviour. Please consult your distribution\'s support channels on how to fix this.<br>'
188+
return
191189

192190
if isX11(lines):
193191
displayServer = 'X11'

0 commit comments

Comments
 (0)