Skip to content

Commit 1766d43

Browse files
committed
fix(details): steam port showing when unavailable
1 parent 0d9395a commit 1766d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lgsm/functions/info_messages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ fn_info_message_source(){
13661366
fn_port "RCON" rconport tcp
13671367
fn_port "SourceTV" sourcetvport udp
13681368
# Will not show if unaviable
1369-
if [ "${steamport}" == "0" ]||[ -z "${steamport}" ]; then
1369+
if [ "${steamport}" == "0" ]||[ -v "${steamport}" ]; then
13701370
fn_port "Steam" steamport udp
13711371
fi
13721372
fn_port "Client" clientport udp

0 commit comments

Comments
 (0)