aboutsummaryrefslogtreecommitdiff
path: root/contrib/unbound/contrib/unbound.init_yocto
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/unbound/contrib/unbound.init_yocto')
-rw-r--r--contrib/unbound/contrib/unbound.init_yocto1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/unbound/contrib/unbound.init_yocto b/contrib/unbound/contrib/unbound.init_yocto
index 4eba752bc55c..e1a812448274 100644
--- a/contrib/unbound/contrib/unbound.init_yocto
+++ b/contrib/unbound/contrib/unbound.init_yocto
@@ -75,6 +75,7 @@ stop() {
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
+ [ $retval -eq 0 ] && rm -f $pidfile
if egrep -q '^/[^[:space:]]+[[:space:]]+'${rootdir}'/dev/log' /proc/mounts; then
umount ${rootdir}/dev/log >/dev/null 2>&1
fi;