Browse Source

fix(details): port printing ws fails silently

pull/3836/head
Lucas Briese 3 years ago
parent
commit
ed4362cbf2
  1. 2
      lgsm/functions/info_messages.sh

2
lgsm/functions/info_messages.sh

@ -773,7 +773,7 @@ fn_port() {
portname="${1}"
porttype="${2}"
portprotocol="${3}"
echo -e "${portname}\t${!porttype}\t${portprotocol}\t$(echo "${ssinfo}" | grep \"${portprotocol}\" | grep \"${!porttype}\" | wc -l)"
echo -e "${portname}\t${!porttype}\t${portprotocol}\t$(echo "${ssinfo}" | grep "${portprotocol}" | grep -c "${!porttype}")"
fi
}

Loading…
Cancel
Save