fix(stream): fix syntax error.
This commit is contained in:
parent
2ecc725b1a
commit
28b0148df9
|
@ -257,7 +257,9 @@ int32_t deleteRsync(const char* id) {
|
||||||
}
|
}
|
||||||
|
|
||||||
char command[PATH_MAX] = {0};
|
char command[PATH_MAX] = {0};
|
||||||
snprintf(command, PATH_MAX, "rsync -av --debug=all --log-file=%s/rsynclog --delete --timeout=10 %s rsync://%s/checkpoint/%s/", tmp, tsSnodeAddress, id);
|
snprintf(command, PATH_MAX,
|
||||||
|
"rsync -av --debug=all --log-file=%s/rsynclog --delete --timeout=10 %s rsync://%s/checkpoint/%s/", tsLogDir,
|
||||||
|
tmp, tsSnodeAddress, id);
|
||||||
|
|
||||||
code = execCommand(command);
|
code = execCommand(command);
|
||||||
taosRemoveDir(tmp);
|
taosRemoveDir(tmp);
|
||||||
|
|
Loading…
Reference in New Issue