aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2009-12-28 13:14:15 +0000
committerLeonardo Arena <rnalrd@gmail.com>2009-12-28 13:14:15 +0000
commita20dd040ab62cd2ecf29ea754192cbcda393c871 (patch)
tree6c43385bab2c0d79d2f4dfcd49aa1fb34f9cace4
parent2a6fa45130624153501c435c46f25f774d7747c3 (diff)
downloadaports-a20dd040ab62cd2ecf29ea754192cbcda393c871.tar.bz2
aports-a20dd040ab62cd2ecf29ea754192cbcda393c871.tar.xz
testing/ucarp: fix init script stop
-rwxr-xr-xtesting/ucarp/ucarp.initd3
1 files changed, 1 insertions, 2 deletions
diff --git a/testing/ucarp/ucarp.initd b/testing/ucarp/ucarp.initd
index d03329fcb3..ff101fce47 100755
--- a/testing/ucarp/ucarp.initd
+++ b/testing/ucarp/ucarp.initd
@@ -54,10 +54,9 @@ status () {
}
stop () {
- ebegin "Shuting down ucarp $IFACE"
+ ebegin "Shutting down ucarp $IFACE"
start-stop-daemon --stop --exec $DAEMON \
-p /var/run/ucarp-$IFACE.pid
- [ $? -eq 0 ] && rm /var/run/ucarp-$IFACE.pid
eend $?
}