1
0
Fork 0

rss will now log when its input limit has been reached

master
Mike Gerwitz 2013-03-10 22:40:52 -04:00
parent 8dc8d8b3b9
commit 84f3c589de
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 4 additions and 1 deletions

5
rss
View File

@ -72,7 +72,10 @@ EOE
# continue until we reach the requested number (note that we increment before # 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 # the check, meaning that if the count is 0, then we will output every commit
((i++)) ((i++))
[ "$i" -eq "$count" ] && break [ "$i" -eq "$count" ] && {
echo "[RSS] Limit of $count reached." >&2
break
}
done done
# footer # footer