Commit 1930c638 authored by Ray Strode's avatar Ray Strode

Revert "gnome-session: make sure wayland sessions get a login shell"

This reverts commit 5e36cd63.

https://bugzilla.gnome.org/show_bug.cgi?id=736660
parent 6a2a30bf
......@@ -12,14 +12,6 @@ if [ -n "$REGION" ]; then
export LC_PAPER=$REGION
fi
update_command="dbus-update-activation-environment --all --systemd > /dev/null 2>&1"
if [ "$XDG_SESSION_TYPE" = "wayland" -a
"$XDG_SESSION_CLASS" != "greeter" -a
-n "$SHELL" ]; then
(exec -l $SHELL -c "$update_command") || eval "$update_command"
else
eval "$update_command"
fi
dbus-update-activation-environment --all > /dev/null 2>&1 ||:
exec @libexecdir@/gnome-session-binary "$@"
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