14 lines
196 B
Bash
Executable File
14 lines
196 B
Bash
Executable File
#!/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 ${? |