[OpenWrt-Devel] [PATCH] scripts/feeds: Return non-zero return code if updating of a feed failed.

Martin Strbačka martin.strbacka at nic.cz
Mon May 25 06:27:27 EDT 2015


Hello John,

On 22.5.2015 15:59, John Crispin wrote:
> would it not be easier to do this -->
> 
> if (!update_feed(...)) {
>     exit 1;
> }

I have nothing against that. But this leads again to aborting the script
after first failure.

> 
> also i am not sure if we want the script to abort if one of the feeds
> has failed

But that's what it did originally.

Martin
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list