diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-12 19:19:43 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-12 19:19:43 +0000 |
commit | fa903e29bcd1eca7bf08c9c318e09f2599640a29 (patch) | |
tree | 75e4dba57b3c720c751ca5b234d0b6dfd3528026 /usr/local/www | |
parent | 411776d05a6081d6e8e181bf7196026890d066c0 (diff) | |
download | pfsense-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/www')
-rwxr-xr-x | usr/local/www/status_services.php | 2 |
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>"; |