Merge pull request #5 from ShadowKyogre/master
Fix an odd issue involving launching consolekit mentioned in Arch Linux forums
This commit is contained in:
commit
91b2e0708d
4
src/cdm
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
|
||||
|
Loading…
Reference in New Issue
Block a user