mirror of
https://github.com/netdata/netdata.git
synced 2025-04-24 13:14:11 +00:00
fix: the cleanup was not performed during the kickstart.sh dry run (#15775)
This commit is contained in:
parent
0f0e65922e
commit
c2cdcc63d2
1 changed files with 1 additions and 0 deletions
|
@ -414,6 +414,7 @@ success_banner() {
|
||||||
cleanup() {
|
cleanup() {
|
||||||
if [ -z "${NO_CLEANUP}" ] && [ -n "${tmpdir}" ]; then
|
if [ -z "${NO_CLEANUP}" ] && [ -n "${tmpdir}" ]; then
|
||||||
cd || true
|
cd || true
|
||||||
|
DRY_RUN=0
|
||||||
run_as_root rm -rf "${tmpdir}"
|
run_as_root rm -rf "${tmpdir}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue