From e72de02c96bd38d31e65055e3588ca38a4d7739d Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Fri, 24 Apr 2020 11:22:41 +0200 Subject: [PATCH] IS_EVOBACKUP_INCS: also look for the new command --- CHANGELOG | 2 ++ evocheck.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 10435e8..3a773b3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -15,6 +15,8 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp ### Fixed +* IS_EVOBACKUP_INCS: also look for the new command + ### Security ## [20.04.2] 2020-04-15 diff --git a/evocheck.sh b/evocheck.sh index d7e78ae..8dd0685 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -1205,7 +1205,7 @@ check_evobackup_incs() { if [ -f "${bkctld_cron_file}" ]; then root_crontab=$(grep -v "^#" "${bkctld_cron_file}") echo "${root_crontab}" | grep -q "bkctld inc" || failed "IS_EVOBACKUP_INCS" "\`bkctld inc' is missing in ${bkctld_cron_file}" - echo "${root_crontab}" | grep -q "check-incs.sh" || failed "IS_EVOBACKUP_INCS" "\`check-incs.sh' is missing in ${bkctld_cron_file}" + echo "${root_crontab}" | grep -qE "(check-incs.sh|bkctld check-incs)" || failed "IS_EVOBACKUP_INCS" "\`check-incs.sh' is missing in ${bkctld_cron_file}" else failed "IS_EVOBACKUP_INCS" "Crontab \`${bkctld_cron_file}' is missing" fi