We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6d6e19 commit 8ea7cf6Copy full SHA for 8ea7cf6
1 file changed
func/main.sh
@@ -465,12 +465,12 @@ sync_cron_jobs() {
465
is_user_format_valid() {
466
if [ ${#1} -eq 1 ]; then
467
if ! [[ "$1" =~ ^^[[:alnum:]]$ ]]; then
468
- echo "invalid $2 format :: $1"
+ check_result $E_INVALID "invalid $2 format :: $1"
469
fi
470
else
471
if ! [[ "$1" =~ ^[[:alnum:]][-|\.|_[:alnum:]]{0,28}[[:alnum:]]$ ]]
472
then
473
474
475
476
}
0 commit comments