chore(bin/emqx): do not use -r option in rm command when deleting .siz

This commit is contained in:
Zaiming (Stone) Shi 2023-03-30 12:31:34 +02:00
parent 808bf1d232
commit 28021c466a
1 changed files with 1 additions and 1 deletions

View File

@ -766,7 +766,7 @@ generate_config() {
local node_name="$2"
## Delete the *.siz files first or it can't start after
## changing the config 'log.rotation.size'
rm -rf "${RUNNER_LOG_DIR}"/*.siz
rm -f "${RUNNER_LOG_DIR}"/*.siz
## timestamp for each generation
local NOW_TIME