Skip to content

Commit

Permalink
Merge pull request BastilleBSD#536 from cqexbesd/minor
Browse files Browse the repository at this point in the history
Minor Changes
  • Loading branch information
cedwards authored Oct 27, 2022
2 parents 79897e9 + 797f406 commit 3702066
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion usr/local/share/bastille/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ enable_color() {
. /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
enable_color
fi
Expand Down
2 changes: 1 addition & 1 deletion usr/local/share/bastille/rdr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ while [ $# -gt 0 ]; do
shift 3
if [ $# -gt 3 ]; then
for last in $@; do
true
true
done
if [ $2 == "(" ] && [ $last == ")" ] ; then
check_jail_validity
Expand Down

0 comments on commit 3702066

Please sign in to comment.