summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-12 19:19:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-12 19:19:43 +0000
commitfa903e29bcd1eca7bf08c9c318e09f2599640a29 (patch)
tree75e4dba57b3c720c751ca5b234d0b6dfd3528026 /usr/local
parent411776d05a6081d6e8e181bf7196026890d066c0 (diff)
downloadpfsense-fa903e29bcd1eca7bf08c9c318e09f2599640a29.zip
pfsense-fa903e29bcd1eca7bf08c9c318e09f2599640a29.tar.gz
Check with get_pkg_id() if the package is installed. If it is not, continue on to next element
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/status_services.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php
index b8cdfcb..5b3f93f 100755
--- a/usr/local/www/status_services.php
+++ b/usr/local/www/status_services.php
@@ -147,6 +147,8 @@ if ($dh)
continue;
if($package_name == "")
continue;
+ if(get_pkg_id($package_name) == -1)
+ continute;
$status = is_service_running($executable_name);
if($status == 1)
$status_txt = "<font color='green'>Running</font>";
OpenPOWER on IntegriCloud