fixed bug: binlist should contain full path because startx expects it

pull/13/head
Jakub Klinkovský 12 years ago
parent ef8fe99bc9
commit 26f157d868

@ -86,7 +86,7 @@ cktimeout=${cktimeout:-30}
# if binlist if not explicitly set in cdmrc.
if [[ "$binlist" == "()" ]]; then
binlist=($(ls /etc/X11/Sessions))
binlist=($(find /etc/X11/Sessions -maxdepth 1 -type f))
for ((i=0; i<${#binlist[@]}; i++)); do
declare flaglist[$i]="X"
done

Loading…
Cancel
Save