Skip to content

Commit eff8c3c

Browse files
authored
Merge pull request hestiacp#1585 from hestiacp/fix/2021-01-fix-syntax-error
Fix syntax error in main.sh
2 parents 1488005 + 07209f2 commit eff8c3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ is_number_format_valid() {
676676

677677
# Autoreply format validator
678678
is_autoreply_format_valid() {
679-
if [[ 10240 -le ${#1} ]; then
679+
if [ 10240 -le ${#1} ]; then
680680
check_result $E_INVALID "invalid autoreply format :: $1"
681681
fi
682682
}

0 commit comments

Comments
 (0)