On 07/20/2017 05:39 AM, Matthias Schiffer wrote: > On 07/19/2017 05:24 PM, Florian Fainelli wrote: >> chroot() can fail and its return value should be checked against, in that >> case >> do an exit() since this is a fatal condition that we cannot recover from. >> >> Fixes: 63789e51ed91 ("init: add support for sysupgrades triggered from >> preinit") >> Signed-off-by: Florian Fainelli <f.faine...@gmail.com> >> --- >> sysupgrade.c | 10 ++++++++-- >> 1 file changed, 8 insertions(+), 2 deletions(-) > > Reviewed-by: Matthias Schiffer <mschif...@universe-factory.net> > > You should be able to push this yourself, otherwise I can do it later today > (I'll also add another commit to change the sysupgrade() return code to > UBUS_STATUS_UNKNOWN_ERROR).
Applied and pushed out, thanks! -- Florian _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev