summaryrefslogtreecommitdiff
path: root/src/shtests.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-20 17:15:01 +0100
committerdavidovski <david@davidovski.xyz>2022-04-20 17:15:01 +0100
commit1f64e717bd8740ee1061e9d85b2914abaaecf8e8 (patch)
tree3a4e60e5b4a1dbb9506bc6adc4855d2545cc5eeb /src/shtests.sh
parent452569e48456f1876fcb96b6e1f03a7118b91f6c (diff)
fixed testsv1.2.4
Diffstat (limited to 'src/shtests.sh')
-rw-r--r--src/shtests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shtests.sh b/src/shtests.sh
index 70dc21b..a899f3c 100644
--- a/src/shtests.sh
+++ b/src/shtests.sh
@@ -9,7 +9,8 @@
# shtests [FILE]
#
-. /usr/lib/colors.sh
+[ -f /usr/lib/colors.sh ] && . /usr/lib/colors.sh
+[ -f colors.sh ] && . colors.sh
PASS="${BLUE}[ ${GREEN}PASS${BLUE} ]${RESET}"
FAIL="${BLUE}[ ${RED}FAIL${BLUE} ]${RESET}"