diff --git a/lgsm/functions/info_messages.sh b/lgsm/functions/info_messages.sh index 3145e3524..b657b13a8 100755 --- a/lgsm/functions/info_messages.sh +++ b/lgsm/functions/info_messages.sh @@ -667,8 +667,12 @@ fn_info_message_ports(){ echo -e "${startparameterslocation}" echo -e "" echo -e "${lightblue}Useful port diagnostic command:${default}" - executableshort="$(echo "${executable//.\/}" | cut -c -15)" - echo -e "ss -tuplwn | grep ${executableshort}" + if [ "${shortname}" == "av" ]; then + echo -e "ss -tuplwn | grep AvorionServer" + else + executableshort="$(echo "${executable//.\/}" | cut -c -15)" + echo -e "ss -tuplwn | grep ${executableshort}" + fi echo -e "" }