Skip to content

Commit 88a0ada

Browse files
committed
fixes
1 parent e5fa462 commit 88a0ada

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

includes/config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ function setup_rcon_yaml () {
426426
if [[ -n ${RCON_PORT+x} ]]; then
427427
sed -i "s/###RCON_PORT###/$RCON_PORT/" "$RCON_CONFIG_FILE"
428428
else
429-
ee "> ADMIN_PASSWORD is not set, please set it for RCON functionality to work!"
429+
ee "> RCON_PORT is not set, please set it for RCON functionality to work!"
430430
fi
431431
if [[ -n ${ADMIN_PASSWORD+x} ]]; then
432432
sed -i "s/###ADMIN_PASSWORD###/$ADMIN_PASSWORD/" "$RCON_CONFIG_FILE"

scripts/servermanager.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ function term_handler() {
3333

3434
# Main process thread
3535
function start_main() {
36+
validate_env_variables
37+
setup_configs
3638
check_for_default_credentials
3739
if [ "${WINETRICK_ON_START}" == "true" ]; then
3840
winetricks_install

0 commit comments

Comments
 (0)