From 5b43ef0c857aa2f186d3877fee35371e9fe9f0f0 Mon Sep 17 00:00:00 2001 From: Christoph Date: Mon, 1 Aug 2022 11:36:04 +0200 Subject: [PATCH] install_dehydrated.sh: minor changes in script output. --- install_dehydrated.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_dehydrated.sh b/install_dehydrated.sh index 75bda0b..5cd76fb 100755 --- a/install_dehydrated.sh +++ b/install_dehydrated.sh @@ -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."