[gnome-session] Revert "gnome-session: make sure wayland sessions get a login shell"
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] Revert "gnome-session: make sure wayland sessions get a login shell"
- Date: Tue, 10 Jan 2017 16:50:56 +0000 (UTC)
commit 1930c63890fa1f844f6cd6e9b4b454856363fe82
Author: Ray Strode <rstrode redhat com>
Date: Fri Jan 6 16:31:57 2017 -0500
Revert "gnome-session: make sure wayland sessions get a login shell"
This reverts commit 5e36cd63e71520f829bbd77c102b64179e08992a.
https://bugzilla.gnome.org/show_bug.cgi?id=736660
gnome-session/gnome-session.in | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/gnome-session/gnome-session.in b/gnome-session/gnome-session.in
index aa314f4..530299d 100644
--- a/gnome-session/gnome-session.in
+++ b/gnome-session/gnome-session.in
@@ -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 "$@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]