Explorar o código

fix(fastdl): linebreaks for fastdl output (#2451)

Co-authored-by: Christian Birk <chirs.h3o66@gmail.com>
Christian %!s(int64=6) %!d(string=hai) anos
pai
achega
d88c81e17f
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      lgsm/functions/command_fastdl.sh

+ 4 - 0
lgsm/functions/command_fastdl.sh

@@ -166,6 +166,8 @@ fn_fastdl_preview(){
 			done < <(find . -type f -iname ${allowed_extention})
 			done < <(find . -type f -iname ${allowed_extention})
 			if [ ${fileswc} != 0 ]; then
 			if [ ${fileswc} != 0 ]; then
 				fn_print_ok_eol_nl
 				fn_print_ok_eol_nl
+			else
+				fn_print_info_eol_nl
 			fi
 			fi
 		done
 		done
 	# Source engine
 	# Source engine
@@ -197,6 +199,8 @@ fn_fastdl_preview(){
 					printf "gathering ${directory} ${allowed_extention} : ${fileswc}..."
 					printf "gathering ${directory} ${allowed_extention} : ${fileswc}..."
 					if [ ${fileswc} != 0 ]; then
 					if [ ${fileswc} != 0 ]; then
 						fn_print_ok_eol_nl
 						fn_print_ok_eol_nl
+					else
+						fn_print_info_eol_nl
 					fi
 					fi
 				done
 				done
 			fi
 			fi