19 lines
528 B
Bash
Executable File
19 lines
528 B
Bash
Executable File
#!/bin/bash --posix
|
|
|
|
# Copyright 2021, Price Hiller - All Rights Reserved
|
|
#
|
|
# Copying, distribution, usage, or modification of this file or the following source code, via any
|
|
# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com)
|
|
# The following file contains proprietary and confidential content
|
|
#
|
|
|
|
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 ${? |