fix(rustdeskserver): remove redundant else with undefined RELEASE variable (#14272)

The check_for_gh_release function already prints its own 'No update
available' message when the app is up to date. The else block using
${RELEASE} was redundant and caused an empty version string to be shown
(e.g. 'already at v').

Fixes: #14267
This commit is contained in:
CanbiZ (MickLesk)
2026-05-06 13:09:05 +02:00
committed by GitHub
parent 6317e7a867
commit 21c064464a

View File

@@ -48,8 +48,6 @@ function update_script() {
msg_ok "Services started"
msg_ok "Updated successfully!"
else
msg_ok "No update required. ${APP} is already at v${RELEASE}"
fi
exit
}