Explorar o código

clearoldfastdl fix

lrob %!s(int64=10) %!d(string=hai) anos
pai
achega
969bb25c92
Modificáronse 1 ficheiros con 1 adicións e 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
 }