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() {
|
disableLighttpd() {
|
||||||
# Return early when lighttpd is not installed
|
# Return early when lighttpd is not active
|
||||||
if [[ ! -f /etc/lighttpd/lighttpd.conf ]]; then
|
if ! check_service_active lighttpd; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue