summaryrefslogtreecommitdiff
path: root/network/ntop/rc.ntop
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-08-09 16:05:02 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:19 +0700
commite8ed9e82beb4746bc3927c5f4a592f15e7e1aa12 (patch)
tree45b6fdee3aa13fbe085657fbc45c9aa2c4ee2251 /network/ntop/rc.ntop
parenta4fa72fc390d032934708cd702d811730890b872 (diff)
downloadslackbuilds-e8ed9e82beb4746bc3927c5f4a592f15e7e1aa12.tar.gz
network/ntop: Fixed build with rrdtool-1.6.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/ntop/rc.ntop')
-rw-r--r--network/ntop/rc.ntop8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/ntop/rc.ntop b/network/ntop/rc.ntop
index 441d7dbe4f..2d29aac6c6 100644
--- a/network/ntop/rc.ntop
+++ b/network/ntop/rc.ntop
@@ -3,8 +3,8 @@
# /etc/rc.d/rc.ntop : start/stop/restart ntop
# usage: ./rc.ntop { start | stop | restart }
-# Thanks to andarius <andarius@errantnutron.com> for donating
-# time and the various cleanups in the script and the start|stop|restart
+# Thanks to andarius <andarius@errantnutron.com> for donating
+# time and the various cleanups in the script and the start|stop|restart
# functions.
NTOPUID=@NTOPUSER@
@@ -43,7 +43,7 @@ ntop_start() {
ntop_stop() {
echo -n $"Stopping ntop ... "
RETVAL=$?
- if [ $RETVAL -eq 0 ]; then
+ if [ $RETVAL -eq 0 ]; then
if [ -r /var/run/ntop.pid ]; then
killall ntop
# Give it some time to die gracefully
@@ -60,7 +60,7 @@ ntop_stop() {
echo "\nWARNING: ntop did not exit!"
sleep 10
else
- # Yes there are two spaces as this is the way ntop writes
+ # Yes there are two spaces as this is the way ntop writes
# their logfiles.
echo "$DATE EXIT: ntop stopped by user: $USER (UID: $EUID)" >> $NTOPLOG
echo "Done"