Commit f44db069 authored by Ray Strode's avatar Ray Strode

util: fix bug leading to cleared child environment

The code was trying to initialize the environment with g_listenv
the first time it was run, but instead, ended up using a cleared
environment everytime.
parent 97d413f2
......@@ -498,7 +498,7 @@ gsm_util_setenv (const char *variable,
GError *bus_error;
if (child_environment)
if (child_environment == NULL)
child_environment = g_listenv ();
if (!value)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment