diff options
author | James Mills <prologic@shortcircuit.net.au> | 2020-03-30 14:02:04 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-30 14:02:04 +1000 |
commit | 3568c340ada6878686bfe5b6f39a8c75c7c64ca7 (patch) | |
tree | 9dc29df0b0320de808eef4564e2d769cb0ec71d6 /packaging/installer/netdata-updater.sh | |
parent | ecee1374b92f3a4e5b1aee60da1d79b66fce0a90 (diff) |
Fix auto updates for static installs (kickstart_static64.sh) (#8507)
Diffstat (limited to 'packaging/installer/netdata-updater.sh')
-rwxr-xr-x | packaging/installer/netdata-updater.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/installer/netdata-updater.sh b/packaging/installer/netdata-updater.sh index c10e6a5083..57c521b925 100755 --- a/packaging/installer/netdata-updater.sh +++ b/packaging/installer/netdata-updater.sh @@ -250,7 +250,7 @@ if [ "${IS_NETDATA_STATIC_BINARY}" == "yes" ]; then fi # Do not pass any options other than the accept, for now - if sh "${TMPDIR}/netdata-latest.gz.run" --accept "${REINSTALL_OPTIONS}"; then + if sh "${TMPDIR}/netdata-latest.gz.run" --accept -- "${REINSTALL_OPTIONS}"; then rm -r "${TMPDIR}" else echo >&2 "NOTE: did not remove: ${TMPDIR}" |