no break in case

This commit is contained in:
Gwenhael Le Moine 2011-10-17 11:20:22 +02:00
parent 1180c15d03
commit 9a5f25461f

View file

@ -41,15 +41,12 @@ case "\$1" in
'start')
python /var/$PRGNAM/$PRGNAM.py &
echo \$! > /var/run/$PRGNAM.pid
break
;;
'stop')
[ -e /var/run/$PRGNAM.pid ] && kill <(/var/run/$PRGNAM.pid)
break
;;
'restart')
\$0 stop && sleep 1 && \$0 start
break
;;
esac
EOF