Explorar el Código

clearoldfastdl fix

lrob hace 10 años
padre
commit
969bb25c92
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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
 }