[Lunar-commits] r23000 - lunar/trunk/var/lib/lunar/plugins
Auke Kok
sofar at lunar-linux.org
Sun Jan 21 00:04:36 CET 2007
Author: sofar
Date: 2007-01-21 00:04:36 +0100 (Sun, 21 Jan 2007)
New Revision: 23000
Modified:
lunar/trunk/var/lib/lunar/plugins/download-generic.plugin
Log:
Don't _log_ download errors against LRESORT_URL. they spam the log and are meaningless.
Modified: lunar/trunk/var/lib/lunar/plugins/download-generic.plugin
===================================================================
--- lunar/trunk/var/lib/lunar/plugins/download-generic.plugin 2007-01-20 21:58:49 UTC (rev 22999)
+++ lunar/trunk/var/lib/lunar/plugins/download-generic.plugin 2007-01-20 23:04:36 UTC (rev 23000)
@@ -67,10 +67,13 @@
verbose_msg "download of \"$2\" successful"
else
rm -f $TMP_FILE
- return 1
+ return 1
fi
else
- activity_log "lget" "$MODULE" "$VERSION" "failed" "broken URL: \"$URL$2\""
+ # don't report errors against cache misses
+ if [ "$URL" != "$LRESORT_URL/" ]; then
+ activity_log "lget" "$MODULE" "$VERSION" "failed" "broken URL: \"$URL$2\""
+ fi
return 1
fi
}
More information about the Lunar-commits
mailing list