Explorar el Código

No pipe for timeout

Zachary Kotlarek hace 14 años
padre
commit
ee8eae49c9
Se han modificado 1 ficheros con 3 adiciones y 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