mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
Update main.sh
This commit is contained in:
parent
e64049af0e
commit
22084a79b6
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ is_common_format_valid() {
|
|||
check_result $E_INVALID "invalid $2 format :: $1"
|
||||
fi
|
||||
if [[ $1 =~ \* ]]; then
|
||||
if [[ "$(echo $1 | grep -o \*\. |wc -l)" -eq 0 ]] && [[ $1 != '*' ]] ; then
|
||||
if [[ "$(echo $1 | grep -o '\*\.' |wc -l)" -eq 0 ]] && [[ $1 != '*' ]] ; then
|
||||
check_result $E_INVALID "invalid $2 format :: $1"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue