lrob %!s(int64=10) %!d(string=hai) anos
pai
achega
fde1c3a9ab
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      functions/command_fastdl.sh

+ 2 - 2
functions/command_fastdl.sh

@@ -183,14 +183,14 @@ sleep 1
 # Generate lua file that will force download any file into the FastDL folder
 fn_lua_fastdl(){
 # Remove lua file if luaressource is turned off
-if [ ${luaressource} == "off" ]; then
+if [ "${luaressource}" == "off" ]; then
 	if [ -f "${luafastdlfullpath}" ]; then
 		echo "Removing download enforcer"
 		sleep 1
 		rm -R "${luafastdlfullpath}"
 	fi
 fi
-if [ ${luaressource == "on" ]; then
+if [ "${luaressource}"" == "on" ]; then
 	if [ -f "${luafastdlfullpath}" ]; then
 		echo "Removing old download enforcer"
 		sleep 1