summaryrefslogtreecommitdiff
path: root/network/ntop/rc.ntop
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-05-25 17:07:04 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-27 07:23:48 +0700
commitbf5c761d29f3c3b0d01c40191869f7b434273eeb (patch)
tree06e136cee997f92b46d38ea9ee73d574f0781c33 /network/ntop/rc.ntop
parent06d3ce53013095ac4ca262ff5eb3b5b66bb69dba (diff)
downloadslackbuilds-bf5c761d29f3c3b0d01c40191869f7b434273eeb.tar.gz
network/ntop: Updated for version 5.0.1.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'network/ntop/rc.ntop')
-rw-r--r--network/ntop/rc.ntop6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/ntop/rc.ntop b/network/ntop/rc.ntop
index 1b89f4804a..441d7dbe4f 100644
--- a/network/ntop/rc.ntop
+++ b/network/ntop/rc.ntop
@@ -49,9 +49,9 @@ ntop_stop() {
# Give it some time to die gracefully
for second in 0 1 2 3 4 5 6 7 8 9 10 ; do
if $(! /sbin/pidof ntop > /dev/null 2>&1 ) ; then
- # ntop is a dirty little deamon:
+ # ntop is a dirty little daemon:
rm -f /var/run/ntop.pid
- break;
+ break
fi
sleep 1
done
@@ -66,7 +66,7 @@ ntop_stop() {
echo "Done"
fi
fi
- rm -f /var/lock/ntop
+ rm -f /var/lock/ntop
fi
return $RETVAL
}