From a68395e1c0b7b3a8ecd2d41e7b604afa7f61c0a8 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Mon, 14 Sep 2015 03:53:56 +0200 Subject: ntopng.inc - remove pointless check already done elsewhere --- config/ntopng/ntopng.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3