summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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}"