From 9e041d52df538710957bf0d7c0c388edc41e7824 Mon Sep 17 00:00:00 2001 From: Eskild Hustvedt Date: Sun, 28 Apr 2024 11:36:38 +0200 Subject: [PATCH] Use -n instead of ! -z to check for AID --- steamtinkerlaunch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steamtinkerlaunch b/steamtinkerlaunch index f2c2a487..254079a0 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -19784,7 +19784,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