From 84f3c589dec882588a41df4de58d9ba337ffe65f Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sun, 10 Mar 2013 22:40:52 -0400 Subject: [PATCH] rss will now log when its input limit has been reached --- rss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rss b/rss index 8a89326..1b2ca5e 100755 --- a/rss +++ b/rss @@ -72,7 +72,10 @@ EOE # continue until we reach the requested number (note that we increment before # the check, meaning that if the count is 0, then we will output every commit ((i++)) - [ "$i" -eq "$count" ] && break + [ "$i" -eq "$count" ] && { + echo "[RSS] Limit of $count reached." >&2 + break + } done # footer