Browse Source

I need to get better with tables.

pull/1243/head
UltimateByte 8 years ago
committed by GitHub
parent
commit
a12d6cc227
  1. 4
      lgsm/functions/command_details.sh

4
lgsm/functions/command_details.sh

@ -351,10 +351,10 @@ fn_details_ark(){
echo -e "> Game\tINBOUND\t${port}\tudp" echo -e "> Game\tINBOUND\t${port}\tudp"
# Don't do arithmetics if ever the port wasn't a numeric value # Don't do arithmetics if ever the port wasn't a numeric value
if [ "${port}" -eq "${port}" ]; then if [ "${port}" -eq "${port}" ]; then
echo -e "> RAW\t\INBOUND\t$((port+1))\tudp" echo -e "> RAW\tINBOUND\t$((port+1))\tudp"
fi fi
echo -e "> Query\tINBOUND\t${queryport}\tudp" echo -e "> Query\tINBOUND\t${queryport}\tudp"
echo -e "> RCON\INBOUND\t${rconport}\ttcp" echo -e "> RCON\tINBOUND\t${rconport}\ttcp"
} | column -s $'\t' -t } | column -s $'\t' -t
} }

Loading…
Cancel
Save