... | ... |
@@ -155,8 +155,8 @@ case ${1:-rss} in |
155 | 155 |
revauthor="$VALUE";; |
156 | 156 |
'guid isPermaLink="false"') |
157 | 157 |
revision=$(sed -r 's,^.+/([0-9]+)/$,\1,' <<< $VALUE) |
158 |
- if test $entry -eq 1 -a $revision -eq ${latest_revision:-0}; then |
|
159 |
- echo "no new updates" >&2 |
|
158 |
+ if test $revision -eq ${latest_revision:-0}; then |
|
159 |
+ test $entry -eq 1 && echo "no new updates" >&2 |
|
160 | 160 |
break |
161 | 161 |
fi |
162 | 162 |
;; |