diff --git a/functions/command_fastdl.sh b/functions/command_fastdl.sh index 425a9e7f7..f313c04d9 100644 --- a/functions/command_fastdl.sh +++ b/functions/command_fastdl.sh @@ -70,7 +70,7 @@ fi if [ ! -d "${fastdldir}" ]; then # No folder, won't ask for removing old ones newfastdl=1 - fn_printdots "Creating FastDL fastdl directory" + fn_printdots "Creating fastdl directory" sleep 1 mkdir "${fastdldir}" fn_printok "Created fastdl directory" @@ -90,7 +90,7 @@ fn_scriptlog "Configuration" sleep 2 echo -en "\n" # Prompt for clearing old files if folder was already here -if [ -z "${newfastdl}" ] && [ "${newfastdl}" == "0" ]; then +if [ -d "${newfastdl}" ] && [ "${newfastdl}" == "0" ]; then fn_printdots while true; do read -e -i "y" -p "Clear old FastDL files? [Y/n]" yn