Zachary Kotlarek 11 vuotta sitten
vanhempi
sitoutus
e8d54e7ba1
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      findAllTorrents.sh

+ 2 - 2
findAllTorrents.sh

@@ -47,13 +47,13 @@ while read -d $'\0' SERIES ; do
 			echo "Timeout searching: ${SERIES}" 1>&2
 		else
 			echo "Error searching: ${SERIES}" 1>&2
-		if
+		fi
 		continue
 	fi
 
 	# Download, if we found anything
 	if [ -n "${URLS}" ]; then
-		if ! "${URLS}" | ~/bin/download; then
+		if ! echo "${URLS}" | ~/bin/download; then
 			echo "Error downloading: ${SERIES}" 1>&2
 			continue
 		fi