瀏覽代碼

clearoldfastdl fix

lrob 10 年之前
父節點
當前提交
969bb25c92
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      functions/command_fastdl.sh

+ 1 - 2
functions/command_fastdl.sh

@@ -77,10 +77,9 @@ if [ ! -d "${fastdldir}" ]; then
 	fn_scriptlog "FastDL created fastdl directory"
 	sleep 1
 	echo -en "\n"
-# Used to prompt for removing old files if folder is not empty
+	clearoldfastdl="off" # Nothing to clear
 elif  [ "$(ls -A "${fastdldir}")" ]; then
 	newfastdl=0
-	clearoldfastdl="off"
 fi
 }