From 0542a69314860ea2953ef19ce7e1e98ee008847b Mon Sep 17 00:00:00 2001
From: Daniel Gibbs <me@danielgibbs.co.uk>
Date: Sat, 2 Jan 2016 01:24:32 +0000
Subject: [PATCH] Revert "syntax error"

This reverts commit 8debece65f8a2fc576324185900ed0466f8a816d.
---
 functions/update_dl.sh | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/functions/update_dl.sh b/functions/update_dl.sh
index 5a2b1ced6..09bd3ebe9 100644
--- a/functions/update_dl.sh
+++ b/functions/update_dl.sh
@@ -23,15 +23,7 @@ if [ "${engine}" == "goldsource" ]; then
 else
 	${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" +quit|tee -a "${scriptlog}"
 fi
-if [ $? -ne 0 ]; then
-	fn_printwarningnl "SteamCMD did not complete the download, retrying: Attempt ${counter}"
-	counter=$((counter+1))
-	fn_steamcmd_dl
-fi
-if [ ${counter} == 10 ]; then
-	fn_printfailurenl "SteamCMD failed to download the update."
-	exit 1
-fi
+
 fix.sh
 }
 
@@ -87,6 +79,5 @@ sleep 1
 if [ "${gamename}" == "Teamspeak 3" ]; then
 	fn_teamspeak3_dl
 else
-	counter=0
 	fn_steamcmd_dl
 fi