use exec to run dbus-session to eliminate the parent shell.
This commit is contained in:
parent
8ae1f9aad8
commit
b8ce5083b7
@ -4,7 +4,7 @@ export SUGAR_PREFIX=@prefix@
|
|||||||
export SUGAR_PATH=@prefix@/share/sugar
|
export SUGAR_PATH=@prefix@/share/sugar
|
||||||
export GTK2_RC_FILES=@prefix@/share/sugar/data/sugar-xo.gtkrc
|
export GTK2_RC_FILES=@prefix@/share/sugar/data/sugar-xo.gtkrc
|
||||||
if [ -f /etc/olpc-security ] ; then
|
if [ -f /etc/olpc-security ] ; then
|
||||||
dbus-launch --exit-with-session --config-file=/etc/dbus-1/session-olpc.conf sugar-shell
|
exec dbus-launch --exit-with-session --config-file=/etc/dbus-1/session-olpc.conf sugar-shell
|
||||||
else
|
else
|
||||||
dbus-launch --exit-with-session sugar-shell
|
exec dbus-launch --exit-with-session sugar-shell
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user