diff options
author | Daniel Otero <otero.o.daniel@gmail.com> | 2019-06-02 02:32:54 +0200 |
---|---|---|
committer | Ray Strode <halfline@gmail.com> | 2019-08-13 20:01:03 +0000 |
commit | 2802e92d27450d86d81b6356dd532ec80e797223 (patch) | |
tree | 859facdf3111cd89043eabee61b9590df7fe5c16 /daemon/gdm-x-session.c | |
parent | d357ed340fa1cb99d090a109a939bf577764706a (diff) | |
download | gdm-2802e92d27450d86d81b6356dd532ec80e797223.tar.gz |
gdm-{wayland,x}-session: allow users to overwrite environment
This commit allows the user to full control over the session
environment, not only allowing to add new variables but to replace
existing ones. The most tipical use case is adding entries to the PATH.
https://bugzilla.gnome.org/show_bug.cgi?id=736660
Diffstat (limited to 'daemon/gdm-x-session.c')
-rw-r--r-- | daemon/gdm-x-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gdm-x-session.c b/daemon/gdm-x-session.c index 58865a6c..9714da3e 100644 --- a/daemon/gdm-x-session.c +++ b/daemon/gdm-x-session.c @@ -635,7 +635,7 @@ spawn_session (State *state, continue; } - g_subprocess_launcher_setenv (launcher, environment_entry[0], environment_entry[1], FALSE); + g_subprocess_launcher_setenv (launcher, environment_entry[0], environment_entry[1], TRUE); } /* Don't allow session specific environment variables from earlier sessions to |