Use of "next" instead of "continue" in bash script failsafeXServer
Bug #149304 reported by
Mikael Nilsson
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg (Ubuntu) |
Fix Released
|
Low
|
Bryce Harrington |
Bug Description
Binary package hint: x11-common
The script /etc/gdm/
Most times the script does work because it does not hit that path, though.
Try the following to verify
for i in 1 2 3 4 5; do
if [ $i = 3 ]; then
echo got it $i
next
fi
echo $i
done
result:
1
2
got it 3
/bin/bash: next: command not found
3
4
5
which is the same error message I found at the time in .xsession-errors
Related branches
To post a comment you must log in.
Thanks, good catch. Looks like a minor error, but incorrect nonetheless. I'll commit this in the next xorg upload.