summaryrefslogtreecommitdiff
path: root/cron-jobs
diff options
context:
space:
mode:
authorJoseph Graham <joseph@fibreglass.tunachunks>2014-06-06 12:29:21 +0100
committerJoseph Graham <joseph@fibreglass.tunachunks>2014-06-06 12:29:21 +0100
commitad79659b3057fd5afac3629e9dd53ea3b93fb58e (patch)
tree561cb791c686505c8bf496f4e5e4bac3dbe65465 /cron-jobs
parent6979cf5d1e4a599fbabaed4fe643e9db0f0f871c (diff)
Made it only give output on an error.
Diffstat (limited to 'cron-jobs')
-rw-r--r--cron-jobs/make_repo_torrents3
1 files changed, 2 insertions, 1 deletions
diff --git a/cron-jobs/make_repo_torrents b/cron-jobs/make_repo_torrents
index 246264d..797142e 100644
--- a/cron-jobs/make_repo_torrents
+++ b/cron-jobs/make_repo_torrents
@@ -93,7 +93,8 @@ do
# There should not be a random comma at the end of the webseeds
webseeds="${webseeds%,}"
- mktorrent -a "${tracker}" "${pkg}" -w "${webseeds}" # "${torrent_location}"
+ mktorrent -a "${tracker}" "${pkg}" -w "${webseeds}" >/dev/null ||
+ echo "Error making torrent for \"${pkg}\""
fi
done
done