check_cert_for_prosody.sh: no warning if running as cron and all is fine..
This commit is contained in:
parent
63c3154024
commit
875465aab7
@ -252,8 +252,10 @@ if [[ -f "$(dirname "$cert_installed")/auth.$(basename "$cert_installed")" ]] \
|
|||||||
auth_domain_present=true
|
auth_domain_present=true
|
||||||
else
|
else
|
||||||
auth_domain_present=false
|
auth_domain_present=false
|
||||||
|
if $terminal ; then
|
||||||
warn "no cert/key for auth.${service_domain} present"
|
warn "no cert/key for auth.${service_domain} present"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# -------------
|
# -------------
|
||||||
|
Loading…
Reference in New Issue
Block a user