commit | 31285e565ea74d9fa082c0ff4a15b6d026708a44 | [log] [tgz] |
---|---|---|
author | z3DD3r <z3dd3r@gmail.com> | Wed Mar 04 18:07:40 2020 +0300 |
committer | micky387 <mickaelsaibi@free.fr> | Tue Jul 25 10:34:56 2023 +0200 |
tree | 768d06d4318690f14b8f36a366831b5bdcc54410 | |
parent | 8ca31e6fdfd6cbb3a74e7c34908693df6e0f2484 [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