Fixed function name in updater script. (#10462)
Austin S. Hemmelgarn committed
Jan 12, 2021 at 07:32 UTC
a0f71ad6d3d6c126732228c8c22a97ee379f1e79
1 file changed
+1
-1
packaging/installer/netdata-updater.sh
+1
-1
@@ -118,7 +118,7 @@ create_tmp_directory() {
118
if [ -n "${NETDATA_TMPDIR_PATH}" ]; then
119
echo "${NETDATA_TMPDIR_PATH}"
120
else
121
- if [ -z "${NETDATA_TMPDIR}" ] || _cannot_find_tmpdir "${NETDATA_TMPDIR}" ; then
121
+ if [ -z "${NETDATA_TMPDIR}" ] || _cannot_use_tmpdir "${NETDATA_TMPDIR}" ; then
122
if [ -z "${TMPDIR}" ] || _cannot_use_tmpdir "${TMPDIR}" ; then
123
if _cannot_use_tmpdir /tmp ; then
124
if _cannot_use_tmpdir "${PWD}" ; then