Fix auto updates for static installs (kickstart_static64.sh) (#8507)
James Mills committed
Mar 30, 2020 at 14:02 UTC
3568c340ada6878686bfe5b6f39a8c75c7c64ca7
1 file changed
+1
-1
packaging/installer/netdata-updater.sh
+1
-1
@@ -250,7 +250,7 @@ if [ "${IS_NETDATA_STATIC_BINARY}" == "yes" ]; then
250
fi
251
252
# Do not pass any options other than the accept, for now
253
- if sh "${TMPDIR}/netdata-latest.gz.run" --accept "${REINSTALL_OPTIONS}"; then
253
+ if sh "${TMPDIR}/netdata-latest.gz.run" --accept -- "${REINSTALL_OPTIONS}"; then
254
rm -r "${TMPDIR}"
255
else
256
echo >&2 "NOTE: did not remove: ${TMPDIR}"