From d97801944b552dedd85b16ca49014dd4c4bb47a9 Mon Sep 17 00:00:00 2001 From: Doug Le Tough Date: Mon, 24 Jul 2017 13:34:13 +0200 Subject: [PATCH] "test sys_refresh_ref_cron.sh" --- bin/sys_refresh_ref_cron.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/sys_refresh_ref_cron.sh b/bin/sys_refresh_ref_cron.sh index 06a04e1..52ae773 100755 --- a/bin/sys_refresh_ref_cron.sh +++ b/bin/sys_refresh_ref_cron.sh @@ -150,10 +150,10 @@ function get_cronjobs do COLOR="blanc" MESSAGE=" - ${CRONJOB}" - if [[ "${CRONJOB}" =~ "*run-parts*" ]]; then + if [[ "${CRONJOB}" == "*run-parts*" ]]; then COLOR="cyan" fi - if [[ "${CRONJOB}" =~ "*no crontab for*" ]]; then + if [[ "${CRONJOB}" == "*no crontab for*" ]]; then COLOR="bleu" fi fct_message ${MESSAGE} -color ${COLOR}