Răsfoiți Sursa

fixed syntax

lrob 10 ani în urmă
părinte
comite
fde1c3a9ab
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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