فهرست منبع

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

Co-authored-by: Christian Birk <chirs.h3o66@gmail.com>
Christian 6 سال پیش
والد
کامیت
d88c81e17f
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  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})
 			if [ ${fileswc} != 0 ]; then
 				fn_print_ok_eol_nl
+			else
+				fn_print_info_eol_nl
 			fi
 		done
 	# Source engine
@@ -197,6 +199,8 @@ fn_fastdl_preview(){
 					printf "gathering ${directory} ${allowed_extention} : ${fileswc}..."
 					if [ ${fileswc} != 0 ]; then
 						fn_print_ok_eol_nl
+					else
+						fn_print_info_eol_nl
 					fi
 				done
 			fi