12 lines
195 B
Bash
12 lines
195 B
Bash
|
#!/bin/bash --posix
|
||
|
|
||
|
set -e
|
||
|
|
||
|
[[ -z "${1}" ]] && \
|
||
|
echo \
|
||
|
"Error - Invalid Server ID Passed
|
||
|
Usage: $(basename ${0}) <server id>" && exit 1
|
||
|
|
||
|
tmux attach-session -t "Arma-Server-${1}"
|
||
|
|
||
|
exit ${?}
|