fix(netdata-updater.sh): remove commit_check_file directory (#19288)
Ilya Mashchenko committed
Dec 27, 2024 at 16:01 UTC
cfd832964eb3b65b6fbd7ee8bffbd25adb01f866
1 file changed
+4
packaging/installer/netdata-updater.sh
+4
@@ -551,6 +551,10 @@ else:
551
commit_date="$(python3 -c "${python_version_check}" < "${commit_check_file}")"
552
fi
553
554
+ if [ -z "${NETDATA_TMPDIR_PATH}" ]; then
555
+ rm -rf "${ndtmpdir}" >&3 2>&3
556
+ fi
557
+
558
if [ -z "${commit_date}" ] ; then
559
return 0
560
elif [ "$(uname)" = "Linux" ]; then