aboutsummaryrefslogtreecommitdiffstats
path: root/config/ntopng/ntopng.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/ntopng/ntopng.inc')
-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");