1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-01-03 04:30:55 +00:00

Add else statement

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2020-11-24 06:02:18 +01:00
parent ec5183b553
commit 70c48afc04

View File

@ -953,6 +953,8 @@ ftl_full_status(){
if command -v systemctl &> /dev/null; then if command -v systemctl &> /dev/null; then
FTL_status=$(systemctl status --full --no-pager pihole-FTL.service) FTL_status=$(systemctl status --full --no-pager pihole-FTL.service)
log_write " ${FTL_status}" log_write " ${FTL_status}"
else
log_write "${INFO} systemctl: command not found"
fi fi
} }