diff --git a/ct/fileflows.sh b/ct/fileflows.sh index 967fb2f..18907e0 100644 --- a/ct/fileflows.sh +++ b/ct/fileflows.sh @@ -31,7 +31,7 @@ function update_script() { fi UPDATE_AVAILABLE=$(curl -s -X 'GET' "http://localhost:19200/api/status/update-available" -H 'accept: application/json' | jq .UpdateAvailable) - if [[ "${UPDATE_AVAILABLE}" == "true" ]]; then + if [[ "${UPDATE_AVAILABLE}" == "false" ]]; then msg_info "Stopping $APP" systemctl stop fileflows msg_ok "Stopped $APP"