aboutsummaryrefslogtreecommitdiffstats
path: root/chapter7/backup.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-02 12:32:29 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-02 12:32:29 -0500
commiteb35696e9b37f041ee4ddc606910abc5218fc9b4 (patch)
tree5086ca4e1ed0e4e08f7f2c499da6eea66c916ed6 /chapter7/backup.sh
parentd9dda5d2e5ebf96c8f8808d38b2ba9a116f0f0b0 (diff)
Format FAIL and OK messages with intense color. Reset colors before new line. Try to keep a sane style in the scripts.
Diffstat (limited to 'chapter7/backup.sh')
-rw-r--r--chapter7/backup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter7/backup.sh b/chapter7/backup.sh
index 68b9824..2aac08e 100644
--- a/chapter7/backup.sh
+++ b/chapter7/backup.sh
@@ -13,10 +13,10 @@ else
spinner "$pid" "${SPINNER}"
retval=$?
if [ "${retval}" -ne 0 ]; then
- echo -e "${RED}FAILED!${RST}"
+ echo -e "${IRED}FAILED!${RST}\n"
exit "${retval}"
else
- echo -e "${GRN}OK${RST}"
+ echo -e "${IGRN}OK${RST}\n"
fi
popd > /dev/null || exit 1