diff --git a/functions/command_fastdl.sh b/functions/command_fastdl.sh index f9d6332e7..ae98990cf 100644 --- a/functions/command_fastdl.sh +++ b/functions/command_fastdl.sh @@ -78,7 +78,7 @@ if [ ! -d "${fastdldir}" ]; then sleep 1 echo -en "\n" # Used to prompt for removing old files if folder is not empty -elif [ "$(ls -A ${fastdldir)" ]; then +elif [ "$(ls -A "${fastdldir}")" ]; then newfastdl=0 fi }