zzz_main_fct.sh: corrected exit code on bad cron options
This commit is contained in:
@@ -279,7 +279,7 @@ process_commandline_and_vars()
|
|||||||
if [[ $CRON_MODE == true ]]; then
|
if [[ $CRON_MODE == true ]]; then
|
||||||
if [[ $CHECK_ONLY == true || $JUMP == true ]]; then
|
if [[ $CHECK_ONLY == true || $JUMP == true ]]; then
|
||||||
prnt E "Des paramètres sont incompatibles avec le mode cron."
|
prnt E "Des paramètres sont incompatibles avec le mode cron."
|
||||||
die 15 --force
|
die 16 --force
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user