mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-25 17:03:04 +02:00
Fix env edgecase
This commit is contained in:
parent
1ca2daf47f
commit
3f969bbf1f
@ -121,7 +121,7 @@ static int in_sandbox(void)
|
|||||||
r = lstat("/.flatpak-info", &sb);
|
r = lstat("/.flatpak-info", &sb);
|
||||||
status = r == 0 && sb.st_size > 0;
|
status = r == 0 && sb.st_size > 0;
|
||||||
|
|
||||||
if (getenv("SNAP")) {
|
if (getenv("SNAP") != NULL) {
|
||||||
status = 1;
|
status = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user