summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2021-01-26 07:15:03 -0500
committerGitHub <noreply@github.com>2021-01-26 07:15:03 -0500
commit1e2a5297a1e556080a9a3dc61a9ef28cd5488363 (patch)
treea85e4aa7c93e8579c3a1941da6af761c7798c1a1 /packaging
parentb66c01d9b826d7b6f763c48ab73b0d5e4de58227 (diff)
Properly handle saved temporary directory on updates. (#10550)
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/installer/netdata-updater.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/installer/netdata-updater.sh b/packaging/installer/netdata-updater.sh
index d00167efe5..10835cd001 100755
--- a/packaging/installer/netdata-updater.sh
+++ b/packaging/installer/netdata-updater.sh
@@ -116,7 +116,7 @@ _cannot_use_tmpdir() {
create_tmp_directory() {
if [ -n "${NETDATA_TMPDIR_PATH}" ]; then
- echo "${NETDATA_TMPDIR_PATH}"
+ TMPDIR="${NETDATA_TMPDIR_PATH}"
else
if [ -z "${NETDATA_TMPDIR}" ] || _cannot_use_tmpdir "${NETDATA_TMPDIR}" ; then
if [ -z "${TMPDIR}" ] || _cannot_use_tmpdir "${TMPDIR}" ; then