Merge pull request #21 from polyphemus/startx-fix

Small change to call to startx, run in subshell.
pull/22/merge
Ghost1227 11 years ago
commit 89473c35f3

@ -76,8 +76,7 @@ if $consolekit; then
dbuspid=$(<"$dbuspidfifo"); rm -f "$dbuspidfifo"
fi
# Conform to POSIX and do not use `>&' here.
setsid 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