commit | a6029d1c649bf4c50495454fadc5eb8231d1a03c | [log] [tgz] |
---|---|---|
author | Andrei Danin <gcon.monolake@gmail.com> | Wed Aug 29 19:06:36 2018 -0700 |
committer | Andrei Danin <gcon.monolake@gmail.com> | Wed Aug 29 19:06:36 2018 -0700 |
tree | e245c751050f11a7ad84b06e815e43f5c19783d1 | |
parent | 259833755245a3a0e3dd6a148acfecdf026a186d [diff] |
Check for empty parameters before trying to restore a DB First, the `$FULL` paramter wasn't checked on emptiness but it can be empty if there is no backups present. Second, `$FULL_INCR` may be empty too, so it has to be surrounded by double quotes when tested in condition statements. Change-Id: I4cc9522e800c996c29a1966e629759f7c5f8c8d3 Related-Bug: PROD-22068