diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-02 12:32:29 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-02 12:32:29 -0500 |
commit | eb35696e9b37f041ee4ddc606910abc5218fc9b4 (patch) | |
tree | 5086ca4e1ed0e4e08f7f2c499da6eea66c916ed6 /chapter7/backup.sh | |
parent | d9dda5d2e5ebf96c8f8808d38b2ba9a116f0f0b0 (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.sh | 4 |
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 |