Explorar o código

No pipe for timeout

Zachary Kotlarek %!s(int64=14) %!d(string=hai) anos
pai
achega
ee8eae49c9
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      findAllTorrents

+ 3 - 2
findAllTorrents

@@ -37,8 +37,9 @@ while read -d $'\0' SERIES ; do
 	fi
 
 	# 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
 	if [ $? -ne 0 ]; then