summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README3
1 files changed, 1 insertions, 2 deletions
diff --git a/README b/README
index db61a18..6ce4231 100644
--- a/README
+++ b/README
@@ -815,8 +815,7 @@ arguments are specified then the data is read from stdin.
fi
log "${feedname}" "${msg}" "START"
- fetch "${url}" "${feedname}"
- if [ $? = 0 ]; then
+ if fetch "${url}" "${feedname}"; then
log "${feedname}" "${msg}" "OK"
# append it safely in parallel to the cachefile on a