|
@@ -590,7 +590,9 @@ self_update() {
|
|
export ENVIRONMENT_FILE="${ENVIRONMENT_FILE}"
|
|
export ENVIRONMENT_FILE="${ENVIRONMENT_FILE}"
|
|
force_update=""
|
|
force_update=""
|
|
[ "$NETDATA_FORCE_UPDATE" = "1" ] && force_update="--force-update"
|
|
[ "$NETDATA_FORCE_UPDATE" = "1" ] && force_update="--force-update"
|
|
- exec ./netdata-updater.sh --not-running-from-cron --no-updater-self-update "$force_update" --tmpdir-path "$(pwd)"
|
|
|
|
|
|
+ interactive=""
|
|
|
|
+ [ "$INTERACTIVE" = "0" ] && interactive="--non-interactive"
|
|
|
|
+ exec ./netdata-updater.sh --not-running-from-cron --no-updater-self-update "$force_update" "$interactive" --tmpdir-path "$(pwd)"
|
|
else
|
|
else
|
|
error "Failed to download newest version of updater script, continuing with current version."
|
|
error "Failed to download newest version of updater script, continuing with current version."
|
|
fi
|
|
fi
|