Break de coquille pendant la boucle
workdone=0
while : ; do
...
if [ "$workdone" -ne 0 ]; then
break
fi
done
Pleasant Pigeon
workdone=0
while : ; do
...
if [ "$workdone" -ne 0 ]; then
break
fi
done