Browse files

Merge pull request #5 from ShadowKyogre/master

Fix an odd issue involving launching consolekit mentioned in Arch Linux forums
  • Loading branch information...
2 parents 434ddf6 + d0a3ae0 commit 91b2e0708d37e41457273098ebb8ec6078905594 @ghost1227 committed Aug 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/cdm
View
4 src/cdm
@@ -273,9 +273,9 @@ xstart() {
fi
if $(checkyesno loginshell); then
- nohup bash --login -c "startx $wm_bin -- ${serverargs}" &> /dev/null &
+ setsid bash --login -c "startx $wm_bin -- ${serverargs}" &> /dev/null &
else
- nohup startx $wm_bin -- ${serverargs} &> /dev/null &
+ setsid startx $wm_bin -- ${serverargs} &> /dev/null &
fi
if [[ -n $clockpid ]]; then

0 comments on commit 91b2e07

Please sign in to comment.