mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-07 22:50:56 +00:00
Check if service is currently enabled when checking if lighttpd may need to be disabled
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
79087fb252
commit
364281354c
@ -2301,8 +2301,8 @@ copy_to_install_log() {
|
||||
}
|
||||
|
||||
disableLighttpd() {
|
||||
# Return early when lighttpd is not installed
|
||||
if [[ ! -f /etc/lighttpd/lighttpd.conf ]]; then
|
||||
# Return early when lighttpd is not active
|
||||
if ! check_service_active lighttpd; then
|
||||
return
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user