Revision fa903e29
Added by Scott Ullrich about 20 years ago
usr/local/www/status_services.php | ||
---|---|---|
147 | 147 |
continue; |
148 | 148 |
if($package_name == "") |
149 | 149 |
continue; |
150 |
if(get_pkg_id($package_name) == -1) |
|
151 |
continute; |
|
150 | 152 |
$status = is_service_running($executable_name); |
151 | 153 |
if($status == 1) |
152 | 154 |
$status_txt = "<font color='green'>Running</font>"; |
Also available in: Unified diff
Check with get_pkg_id() if the package is installed. If it is not, continue on to next element