Adjust error handling when determining SteamOS readonly status in run.sh
This commit is contained in:
2
run.sh
2
run.sh
@@ -72,7 +72,7 @@ prepare_steamos_package_install() {
|
||||
return
|
||||
fi
|
||||
|
||||
readonly_status="$(as_root steamos-readonly status 2>/dev/null || true)"
|
||||
readonly_status="$(as_root steamos-readonly status || true)"
|
||||
if printf '%s\n' "$readonly_status" | grep -Eqi '(^|[[:space:]])enable(d)?($|[[:space:]])'; then
|
||||
echo "Temporarily disabling the SteamOS read-only filesystem"
|
||||
as_root steamos-readonly disable
|
||||
|
||||
Reference in New Issue
Block a user