base-files: sysupgrade: abort if config backup fails
authorAndreas Ziegler <dev@andreas-ziegler.de>
Fri, 3 Aug 2018 23:56:39 +0000 (01:56 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 09:27:36 +0000 (10:27 +0100)
commitc58c31bf99749b644ff1a3851d361417ef204cc5
tree8ad41d5ecf03bbac83f7824ae3a7f5729dfaac30
parent1c833e7bce269562e1a525ef7cdcecc4842ec1d6
base-files: sysupgrade: abort if config backup fails

Sysupgrade shouldn't proceed, if the backup of the configuration
fails because tar (or gzip) exit with a non-zero code.

Signed-off-by: Andreas Ziegler <dev@andreas-ziegler.de>
(backported from 72489ebeb65fd1e1d77e8d9fbe105827a98dbf03)
package/base-files/Makefile
package/base-files/files/sbin/sysupgrade