Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
base-files: sysupgrade: always cleanup after backups
When tar was failing, it was exiting immediately. Some files and the tmpfs mount (-k) would remain breaking the next backup attempt. Also remove redundant $? from exit builtin call as exit already returns the last command exit code when called. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
- Loading branch information