Bash_Scripts/CentOS/Arma/Arma-Connect-Server.bash
2021-08-04 21:17:20 -05:00

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 ${?