Update src/cdm-xlaunch

Replaced nohup with setsid: If using nohup, launching X from the first terminal will succeed but cdm will then shortly proceed to kill the process afterward. This problem is completely fixed by using setsid.
pull/11/head
Esa Lakaniemi 12 years ago
parent 04d35a5949
commit 0404623d51

@ -77,7 +77,7 @@ if $consolekit; then
fi
# Conform to POSIX and do not use `>&' here.
nohup startx $* > /dev/null 2>&1 &
setsid startx $* > /dev/null 2>&1 &
# If wait(1) returns with a value >128, it was interrupted by kill(1),
# so registration was sucessful.

Loading…
Cancel
Save