From 9fab0b0562ef6e1727d37211fde2e9becc1a1933 Mon Sep 17 00:00:00 2001 From: Scarsz Date: Sat, 16 May 2015 01:48:30 -0700 Subject: [PATCH] Create fn_check_steamuser --- functions/fn_check_steamuser | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 functions/fn_check_steamuser diff --git a/functions/fn_check_steamuser b/functions/fn_check_steamuser new file mode 100644 index 000000000..29a3d72c4 --- /dev/null +++ b/functions/fn_check_steamuser @@ -0,0 +1,11 @@ +#!/bin/bash +# LGSM fn_install_serverfiles function +# Author: Daniel Gibbs +# Website: http://gameservermanagers.com +# Version: 160515 + +if [ -z "${steamuser}" ]; then + fn_printwarningnl "SteamCMD user variable is not assigned in the main script! Resorting to anonymous login" + steamuser="anonymous" + steampass="" +fi