2021-07-28 09:29:40 -05:00
|
|
|
#!/bin/bash --posix
|
|
|
|
|
2021-08-04 21:17:20 -05:00
|
|
|
|
2021-08-04 01:21:11 -05:00
|
|
|
|
2021-07-28 09:29:40 -05:00
|
|
|
set -e
|
|
|
|
|
|
|
|
[[ -z "${1}" ]] && \
|
|
|
|
echo \
|
|
|
|
"Error - Invalid Server ID Passed
|
|
|
|
Usage: $(basename ${0}) <server id>" && exit 1
|
|
|
|
|
|
|
|
tmux attach-session -t "Arma-Server-${1}"
|
|
|
|
|
2021-07-30 14:27:08 -05:00
|
|
|
exit ${?
|