瀏覽代碼

Update fn_validate

Scarsz 11 年之前
父節點
當前提交
8146c562f9
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      functions/fn_validate

+ 3 - 1
functions/fn_validate

@@ -23,8 +23,10 @@ sleep 1
 cd "${rootdir}"
 cd "steamcmd"
 
+fn_check_steamuser
+
 if [ $(command -v unbuffer) ]; then
-			unbuffer=unbuffer
+	unbuffer=unbuffer
 fi
 
 ${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" validate +quit|tee -a "${scriptlog}"