aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-14 03:53:56 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-14 03:53:56 +0200
commita68395e1c0b7b3a8ecd2d41e7b604afa7f61c0a8 (patch)
treeb2150b66f096041d58dc23473e457507dcbdf335
parent5ee6ff163bb39d1e1367c42c3626a4af7f7056de (diff)
downloadpfsense-packages-a68395e1c0b7b3a8ecd2d41e7b604afa7f61c0a8.tar.gz
pfsense-packages-a68395e1c0b7b3a8ecd2d41e7b604afa7f61c0a8.tar.bz2
pfsense-packages-a68395e1c0b7b3a8ecd2d41e7b604afa7f61c0a8.zip
ntopng.inc - remove pointless check already done elsewhere
-rw-r--r--config/ntopng/ntopng.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/ntopng/ntopng.inc b/config/ntopng/ntopng.inc
index 0f2fe52a..1f1c737a 100644
--- a/config/ntopng/ntopng.inc
+++ b/config/ntopng/ntopng.inc
@@ -173,7 +173,7 @@ function ntopng_sync_package() {
start_service("ntopng");
sleep(20);
}
- } elseif ((!($g['booting'])) && (is_service_running("ntopng"))) {
+ } elseif (!($g['booting'])) {
ntopng_services_stop();
if ($ntopng_config['enable'] == "on") {
start_service("ntopng");