Daniel Gibbs hace 9 años
padre
commit
91525dcbbf
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      lgsm/functions/command_fastdl.sh

+ 3 - 1
lgsm/functions/command_fastdl.sh

@@ -366,7 +366,9 @@ fn_fastdl_source(){
 
 	if [ -z "${copyflag}" ]; then
 		echo "about to compress ${totalfiles} files, total size $(fn_human_readable_file_size ${filesizetotal} 0) "
-		rm "${tmpdir}/fastdl_files_to_compress.txt"
+		if [ -f "${tmpdir}/fastdl_files_to_compress.txt" ]; then
+			rm "${tmpdir}/fastdl_files_to_compress.txt"
+		fi
 		if fn_prompt_yn "Continue?" Y; then
 			copyflag=1
 			fn_fastdl_source