Browse Source

clear steamcmd log

pull/2959/head
Daniel Gibbs 5 years ago
parent
commit
8e93e0ef21
  1. 4
      lgsm/functions/core_dl.sh

4
lgsm/functions/core_dl.sh

@ -41,6 +41,10 @@ fn_dl_steamcmd(){
# To do error checking for SteamCMD the output of steamcmd will be saved to a log.
steamcmdlog="${lgsmlogdir}/${selfname}-steamcmd.log"
# clear previous steamcmd log
if [ -f "${steamcmdlog}" ]; then
rm -f "${steamcmdlog:?}"
fi
counter=0
while [ "${counter}" == "0" ]||[ "${exitcode}" != "0" ]; do
counter=$((counter+1))

Loading…
Cancel
Save