mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-04 05:01:24 +00:00
By returning early when no upgrade device can be found and handling the SAVE_PARTITIONS=0 case differently, we can get rid of two levels of if. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>