Removed sleep, race condition fixed

pull/3/head
Ghost1227 15 years ago
parent c16afbd635
commit 5dce9b8b43

@ -255,8 +255,5 @@ xstart() {
nohup startx $wm_bin -- ${serverargs} &> /dev/null &
fi
fi
# There's some kind of race condition:
# despite the nohup, if we exit too quickly the session is killed.
sleep 2
}
mainmenu

Loading…
Cancel
Save