mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-21 00:40:01 +00:00
fix(steamos-update): Use double quotes to prevent potential globbing and word splitting
This commit is contained in:
parent
d6a5217798
commit
cd56fe4975
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user