commit | 284ec83feefebb28049239906c4a3661168ad69b | [log] [tgz] |
---|---|---|
author | z3DD3r <z3dd3r@gmail.com> | Wed Mar 04 18:07:40 2020 +0300 |
committer | z3DD3r <z3dd3r@gmail.com> | Wed Mar 04 20:32:58 2020 +0300 |
tree | 1bcbd963dacbd409d368aa1c7f870dd9404aba6d | |
parent | fa8a442ba233df8ff5c683bf0ee770f7b57549d8 [diff] |
backuptool: Fix backup/restore functionality Backup/restore functionality was broken in the Ia1f4ae95c9e4dae4df844853e81c264bc838f177 change because of incorrect check of the function's result. check_prereq() function refactored to return 0 if backuping/restoration is possible. Any work should be performed only if check_prereq() succeeds. Change-Id: Ic977dba675df58a228ef4b882b25beb66cc9d2c6