summaryrefslogtreecommitdiffstats
path: root/packaging/installer
diff options
context:
space:
mode:
authorJames Mills <prologic@shortcircuit.net.au>2020-03-30 14:02:04 +1000
committerGitHub <noreply@github.com>2020-03-30 14:02:04 +1000
commit3568c340ada6878686bfe5b6f39a8c75c7c64ca7 (patch)
tree9dc29df0b0320de808eef4564e2d769cb0ec71d6 /packaging/installer
parentecee1374b92f3a4e5b1aee60da1d79b66fce0a90 (diff)
Fix auto updates for static installs (kickstart_static64.sh) (#8507)
Diffstat (limited to 'packaging/installer')
-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 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}"