chore(bin/emqx): do not use -r option in rm command when deleting .siz
This commit is contained in:
parent
808bf1d232
commit
28021c466a
2
bin/emqx
2
bin/emqx
|
@ -766,7 +766,7 @@ generate_config() {
|
||||||
local node_name="$2"
|
local node_name="$2"
|
||||||
## Delete the *.siz files first or it can't start after
|
## Delete the *.siz files first or it can't start after
|
||||||
## changing the config 'log.rotation.size'
|
## changing the config 'log.rotation.size'
|
||||||
rm -rf "${RUNNER_LOG_DIR}"/*.siz
|
rm -f "${RUNNER_LOG_DIR}"/*.siz
|
||||||
|
|
||||||
## timestamp for each generation
|
## timestamp for each generation
|
||||||
local NOW_TIME
|
local NOW_TIME
|
||||||
|
|
Loading…
Reference in New Issue