Per PR review feedback, this is the more "ziggy" way of doing the check for environment variable.
parent
f239df59ca
commit
a111b3f96f
|
|
@ -733,7 +733,7 @@ const Subprocess = struct {
|
|||
}
|
||||
|
||||
// Unset environment varies set by the snap
|
||||
if (env.get("SNAP") != null) {
|
||||
if (env.get("SNAP")) |_| {
|
||||
env.remove("SNAP");
|
||||
env.remove("DRIRC_CONFIGDIR");
|
||||
env.remove("__EGL_EXTERNAL_PLATFORM_CONFIG_DIRS");
|
||||
|
|
|
|||
Loading…
Reference in New Issue