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
1 changed files with 2 additions and 0 deletions

View File

@ -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
}