Apply suggestions from code review

Co-authored-by: yubiuser <ckoenig@posteo.de>
pull/4288/head
DL6ER 2 years ago committed by GitHub
parent 7167e6d5e4
commit 2e1ce7fc87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -880,6 +880,8 @@ database_recovery() {
echo -e "${OVER} ${TICK} ${str} - success"
mv "${gravityDBfile}" "${gravityDBfile}.old"
mv "${gravityDBfile}.recovered" "${gravityDBfile}"
echo -ne " ${INFO} ${gravityDBfile} has been recovered"
echo -ne " ${INFO} The old ${gravityDBfile} has been moved to ${gravityDBfile}.old"
else
echo -e "${OVER} ${CROSS} ${str} - the following errors happened:"
while IFS= read -r line ; do echo " - $line"; done <<< "$result"

Loading…
Cancel
Save