fix quote issue

This commit is contained in:
dapan1121 2021-06-18 16:44:51 +08:00
parent 3a740a58bb
commit 4bccaeeecd
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ int32_t shellRunCommand(TAOS* con, char* command) {
if (quote == c) {
quote = 0;
} else if (c == '\'' || c == '"') {
} else if (quote == 0 && (c == '\'' || c == '"')) {
quote = c;
}