Skip to content

Quote version comparison in update script - #113

Open
vagos wants to merge 1 commit into
techahold:masterfrom
vagos:quote-update-version-comparison
Open

Quote version comparison in update script#113
vagos wants to merge 1 commit into
techahold:masterfrom
vagos:quote-update-version-comparison

Conversation

@vagos

@vagos vagos commented Aug 25, 2026

Copy link
Copy Markdown

Quote the latest and current RustDesk version values before comparing them in update.sh.

Without quoting, if either command substitution is empty or contains whitespace, the test expression can receive the wrong number of arguments and fail (instead of correctly deciding whether an update is needed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant