Explorar o código

not -d ! -n !

lrob %!s(int64=10) %!d(string=hai) anos
pai
achega
9733ab6fcb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      functions/command_fastdl.sh

+ 1 - 1
functions/command_fastdl.sh

@@ -90,7 +90,7 @@ fn_scriptlog "Configuration"
 sleep 2
 echo -en "\n"
 # Prompt for clearing old files if folder was already here
-if [ -d "${newfastdl}" ] && [ "${newfastdl}" == "0" ]; then
+if [ -n "${newfastdl}" ] && [ "${newfastdl}" == "0" ]; then
 	fn_printdots
 	while true; do
 		read -e -i "y" -p "Clear old FastDL files? [Y/n]" yn