Hi, Bert Schulze's patch is broken, since examining the return value is the whole point of the grep command. Jindrich Makovicka's patch is broken, since it'll set -e even if -e wasn't set before. I've written a patch that adresses the problem the right (and supposedly obvious) way...
Regards Matthias Berndt
85,86c85 < readlink /proc/self/fd/0 | grep -q -e /dev/vc -e '/dev/tty[^p]' -e /dev/console < if [ $? -eq 0 ] ; then --- > if readlink /proc/self/fd/0 | grep -q -e /dev/vc -e '/dev/tty[^p]' -e > /dev/console; then