mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-03-30 20:20:17 +00:00
Add else statement
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
ec5183b553
commit
70c48afc04
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue