fix: exit code 1 caused kiauh to exit
Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
@@ -449,12 +449,14 @@ function dependency_check() {
|
|||||||
|
|
||||||
function system_check_webui() {
|
function system_check_webui() {
|
||||||
### check system for an installed haproxy service
|
### check system for an installed haproxy service
|
||||||
[[ $(dpkg-query -f'${Status}' --show haproxy 2>/dev/null) = *\ installed ]] && \
|
if [[ $(dpkg-query -f'${Status}' --show haproxy 2>/dev/null) = *\ installed ]]; then
|
||||||
HAPROXY_FOUND="true"
|
HAPROXY_FOUND="true"
|
||||||
|
fi
|
||||||
|
|
||||||
### check system for an installed apache2 service
|
### check system for an installed apache2 service
|
||||||
[[ $(dpkg-query -f'${Status}' --show apache2 2>/dev/null) = *\ installed ]] && \
|
if [[ $(dpkg-query -f'${Status}' --show apache2 2>/dev/null) = *\ installed ]]; then
|
||||||
APACHE2_FOUND="true"
|
APACHE2_FOUND="true"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function fetch_webui_ports() {
|
function fetch_webui_ports() {
|
||||||
|
|||||||
Reference in New Issue
Block a user