Browse Source

Don't try to empty an empty folder please

pull/709/head
lrob 9 years ago
parent
commit
dfad528cfb
  1. 4
      functions/command_fastdl.sh

4
functions/command_fastdl.sh

@ -77,8 +77,8 @@ if [ ! -d "${fastdldir}" ]; then
fn_scriptlog "FastDL created fastdl directory" fn_scriptlog "FastDL created fastdl directory"
sleep 1 sleep 1
echo -en "\n" echo -en "\n"
else # Used to prompt for removing old files if folder is not empty
# Used to prompt for removing old files elif [ "$(ls -A ${fastdldir)" ]; then
newfastdl=0 newfastdl=0
fi fi
} }

Loading…
Cancel
Save