install_dehydrated.sh: minor changes in script output.

This commit is contained in:
Christoph 2022-08-01 11:36:04 +02:00
parent 3ea8483c6b
commit 5b43ef0c85

View File

@ -2884,7 +2884,7 @@ EOF
elif [[ "$DH_CRON_TYPE" = "system" ]]; then
echononl " Activate dehydrated cronjob in /etc/cron.d/"
if grep $(basename "${DH_CRON_SCRIPT}") /etc/cron.d/* \
if grep $(basename "${DH_CRON_SCRIPT}") /etc/cron.d/* > /dev/null 2>&1 \
&& grep $(basename "${DH_UPDATE_SSL_DIRECTIVES_SCRIPT}") /etc/cron.d/* > /dev/null 2>&1 ; then
echo_skipped
info "Cronjobs already activated."