From 969bb25c92da149f732e2b51fa76ed7bdeedff01 Mon Sep 17 00:00:00 2001 From: lrob Date: Fri, 19 Feb 2016 07:56:43 +0100 Subject: [PATCH] clearoldfastdl fix --- functions/command_fastdl.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/functions/command_fastdl.sh b/functions/command_fastdl.sh index bed50584b..da2ee537b 100644 --- a/functions/command_fastdl.sh +++ b/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 }