Merge pull request #536 from cqexbesd/minor

Minor Changes
This commit is contained in:
Christer Edwards
2022-10-27 11:32:27 -06:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -37,7 +37,8 @@ enable_color() {
. /usr/local/share/bastille/colors.pre.sh . /usr/local/share/bastille/colors.pre.sh
} }
# If "NO_COLOR" environment variable is present, disable output colors. # If "NO_COLOR" environment variable is present, or we aren't speaking to a
# tty, disable output colors.
if [ -z "${NO_COLOR}" -a -t 1 ]; then if [ -z "${NO_COLOR}" -a -t 1 ]; then
enable_color enable_color
fi fi