瀏覽代碼

fixed syntax

lrob 10 年之前
父節點
當前提交
fde1c3a9ab
共有 1 個文件被更改,包括 2 次插入2 次删除
  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