Fix auto updates for static installs (kickstart_static64.sh) (#8507)

This commit is contained in:
James Mills 2020-03-30 14:02:04 +10:00 committed by GitHub
parent ecee1374b9
commit 3568c340ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}"