From d2cd659391dfb84120be3d170ebaeed0d857f38f Mon Sep 17 00:00:00 2001 From: lrob <robin.labadie@gmail.com> Date: Fri, 19 Feb 2016 07:15:19 +0100 Subject: [PATCH] syntax --- functions/command_fastdl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }