From 4561922b819fea0569593308f130452c8d7b8de1 Mon Sep 17 00:00:00 2001 From: fatalerrors Date: Wed, 27 Oct 2021 13:55:28 +0200 Subject: [PATCH] zzz_main_fct.sh: corrected exit code on bad cron options --- lib/zzz_main_fct.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zzz_main_fct.sh b/lib/zzz_main_fct.sh index e788c13..cb7a839 100644 --- a/lib/zzz_main_fct.sh +++ b/lib/zzz_main_fct.sh @@ -279,7 +279,7 @@ process_commandline_and_vars() if [[ $CRON_MODE == true ]]; then if [[ $CHECK_ONLY == true || $JUMP == true ]]; then prnt E "Des paramètres sont incompatibles avec le mode cron." - die 15 --force + die 16 --force fi fi