[Lunar-commits] <lunar> Download plugin: attempt to use other plugins as well if this fails.
Auke Kok
auke at foo-projects.org
Tue Jun 28 07:48:24 CEST 2011
commit c09fe375aa1fbf535629b76847429d116f387e3d
Author: Auke Kok <auke at foo-projects.org>
Date: Tue Jun 28 07:48:24 2011 +0200
Download plugin: attempt to use other plugins as well if this fails.
---
var/lib/lunar/plugins/download-generic.plugin | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/var/lib/lunar/plugins/download-generic.plugin b/var/lib/lunar/plugins/download-generic.plugin
index 298a611..79e7f8c 100644
--- a/var/lib/lunar/plugins/download-generic.plugin
+++ b/var/lib/lunar/plugins/download-generic.plugin
@@ -67,14 +67,14 @@ plugin_source_download_generic() {
verbose_msg "download of \"$2\" successful"
else
rm -f $TMP_FILE
- return 1
+ return 2
fi
else
# 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
+ return 2
fi
}
More information about the Lunar-commits
mailing list