Commit a20dd040 authored by Leonardo Arena's avatar Leonardo Arena

testing/ucarp: fix init script stop

parent 2a6fa451
...@@ -54,10 +54,9 @@ status () { ...@@ -54,10 +54,9 @@ status () {
} }
stop () { stop () {
ebegin "Shuting down ucarp $IFACE" ebegin "Shutting down ucarp $IFACE"
start-stop-daemon --stop --exec $DAEMON \ start-stop-daemon --stop --exec $DAEMON \
-p /var/run/ucarp-$IFACE.pid -p /var/run/ucarp-$IFACE.pid
[ $? -eq 0 ] && rm /var/run/ucarp-$IFACE.pid
eend $? eend $?
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment