Fix auto updates for static installs (kickstart_static64.sh) (#8507)
This commit is contained in:
parent
ecee1374b9
commit
3568c340ad
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue