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)
committerJohn Crispin <john@phrozen.org>
Mon, 6 Aug 2018 04:51:44 +0000 (06:51 +0200)
commit72489ebeb65fd1e1d77e8d9fbe105827a98dbf03
tree0e52a3e4d9a468857c9921a085f86f5e3d0f3c92
parenta692e4e3de60e1a10906511fb8ef2d14937d4a19
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>
package/base-files/Makefile
package/base-files/files/sbin/sysupgrade