Browse Source

Merge branch 'master' of github.com:profplump/UberZach-Video

Zachary Kotlarek 11 years ago
parent
commit
30bf7491ed
1 changed files with 2 additions and 2 deletions
  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