Skip to content

Commit

Permalink
Use -n instead of ! -z to check for AID
Browse files Browse the repository at this point in the history
  • Loading branch information
zerodogg committed Apr 28, 2024
1 parent 67ba56e commit 40300ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -19782,7 +19782,7 @@ function updateMO2PortConf {

if [ -z "${MONGURL}" ]; then
# Fall back to AID if MO2GAM couldn't be found
if [ ! -z "$AID" ]; then
if [ -n "$AID" ]; then
MONGURL="$(grep -i "\"$AID\"" "$MO2GAMES" | head -n1 | cut -d ';' -f4)"
MONGURL="${MONGURL//\"}"
if [ -z "${MONGURL}" ]; then
Expand Down

0 comments on commit 40300ca

Please sign in to comment.