feat: less one char to match
This commit is contained in:
parent
979ca40214
commit
494b1f1d83
|
@ -1689,7 +1689,8 @@ bool matchEnd(TAOS* con, SShellCmd* cmd) {
|
|||
last = elast + 1;
|
||||
}
|
||||
|
||||
if(strlen(last) < 2 ) {
|
||||
// less one char can match
|
||||
if(strlen(last) == 0 ) {
|
||||
goto _return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue