فهرست منبع

No pipe for timeout

Zachary Kotlarek 14 سال پیش
والد
کامیت
ee8eae49c9
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      findAllTorrents

+ 3 - 2
findAllTorrents

@@ -37,8 +37,9 @@ while read -d $'\0' SERIES ; do
 	fi
 	fi
 
 
 	# Actual search, with timeout to ensure we don't get stuck
 	# Actual search, with timeout to ensure we don't get stuck
-	~/bin/video/timeout -t 300 | \
-		~/bin/video/findTorrent.pl "${SERIES}" | ~/bin/download
+	~/bin/video/timeout -t 300 \
+		~/bin/video/findTorrent.pl "${SERIES}" \ |
+		~/bin/download
 
 
 	# Print the series name on error
 	# Print the series name on error
 	if [ $? -ne 0 ]; then
 	if [ $? -ne 0 ]; then