mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +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
|
||||
FTL_status=$(systemctl status --full --no-pager pihole-FTL.service)
|
||||
log_write " ${FTL_status}"
|
||||
else
|
||||
log_write "${INFO} systemctl: command not found"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue