Skip to content

Commit

Permalink
fix(steamos-update): Use double quotes to prevent potential globbing …
Browse files Browse the repository at this point in the history
…and word splitting
  • Loading branch information
mbouron committed Jan 29, 2024
1 parent d6a5217 commit cd56fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system_files/deck/shared/usr/bin/steamos-update
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if command -v ublue-update > /dev/null; then
# Check if upgrade failed
UPGRADE_CHECK=$(cat /tmp/upgrade-check)
rm /tmp/upgrade-check
if [ ${UPGRADE_CHECK} -eq 0 ]; then
if [ "${UPGRADE_CHECK}" -eq 0 ]; then
touch /tmp/upgrade-installed
else
exit 0 # Upgrade failed
Expand Down

0 comments on commit cd56fe4

Please sign in to comment.