Przeglądaj źródła

test check unexisting variable

lrob 10 lat temu
rodzic
commit
0ecb6b037b
1 zmienionych plików z 1 dodań i 1 usunięć
  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 [ ${newfastdl} == 0 ]; then
+if [ -z "${newfastdl}" ] && [ "${newfastdl}" == "0" ]; then
 	fn_printdots
 	while true; do
 		read -e -i "y" -p "Clear old FastDL files? [Y/n]" yn