Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorBernardo Innocenti <bernie@codewiz.org>2007-09-13 20:38:15 (GMT)
committer Bernardo Innocenti <bernie@codewiz.org>2007-09-17 22:12:05 (GMT)
commitb8ce5083b79079e7c674a7ec008562b38b2553d9 (patch)
tree18b13822e7c2bbf5bec69eb5ba98dbf7c15a9ae2 /bin
parent8ae1f9aad8e96c683c55988b317562c37634737e (diff)
use exec to run dbus-session to eliminate the parent shell.
Diffstat (limited to 'bin')
-rw-r--r--bin/sugar.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sugar.in b/bin/sugar.in
index 5026ad0..140c56e 100644
--- a/bin/sugar.in
+++ b/bin/sugar.in
@@ -4,7 +4,7 @@ export SUGAR_PREFIX=@prefix@
export SUGAR_PATH=@prefix@/share/sugar
export GTK2_RC_FILES=@prefix@/share/sugar/data/sugar-xo.gtkrc
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
- dbus-launch --exit-with-session sugar-shell
+ exec dbus-launch --exit-with-session sugar-shell
fi