Clint Adams <schizo@debian.org> writes:
> - idl=$(ls /etc/init.d/${service} 2> /dev/null | head -n 1)
> + idl="/etc/init.d/${service}"
> if [ -n "$idl" ] && [ -x $idl ]; then
You might as well remove the -n test if you do this. There's not much
chance of hitting it anymore...
Bjørn