diff --git a/func/main.sh b/func/main.sh index f7f722295..87195dc5d 100644 --- a/func/main.sh +++ b/func/main.sh @@ -783,11 +783,6 @@ validate_format_common() { exit $E_INVALID fi if [[ $1 =~ \* ]]; then - if [[ ! $1 =~ \*$ ]]; then - echo "Error: * can be used only at the end" - log_event "$E_INVALID" "$EVENT" - exit $E_INVALID - fi if [ "$(echo $1 | grep -o '*'|wc -l)" -gt 1 ]; then log_event "$E_INVALID" "$EVENT" echo "Error: * can be used only once"