Clint Adams <sch...@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 -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org