From 73fcf08477c90f57d363ecd11d917d27d9eb6a18 Mon Sep 17 00:00:00 2001 From: mirocow Date: Tue, 16 Feb 2016 19:56:49 +0400 Subject: [PATCH] Update restore.sh --- restore.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/restore.sh b/restore.sh index c99fa91..c2f0300 100755 --- a/restore.sh +++ b/restore.sh @@ -21,6 +21,13 @@ database_exists() f_log() { + local bold=$(tput bold) + local yellow=$(tput setf 6) + local red=$(tput setf 4) + local green=$(tput setf 2) + local reset=$(tput sgr0) + local toend=$(tput hpa $(tput cols))$(tput cub 6) + logger "RESTORE: $@" if [ $VERBOSE -eq 1 ]; then