commit | cd77d6510d995f78d3490c42e0cffb54e1afb142 | [log] [tgz] |
---|---|---|
author | z3DD3r <z3dd3r@gmail.com> | Wed Mar 04 18:07:40 2020 +0300 |
committer | rohan <purohit.rohan@gmail.com> | Wed Mar 11 02:10:25 2020 -0400 |
tree | 02b0171443a0e94f2818625c3e0f10b1e531ad4f | |
parent | abe4e5b748bc3d4b9faa53717d9a4567273d1db3 [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