@@ -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
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ while [ $# -gt 0 ]; do
|
|||||||
shift 3
|
shift 3
|
||||||
if [ $# -gt 3 ]; then
|
if [ $# -gt 3 ]; then
|
||||||
for last in $@; do
|
for last in $@; do
|
||||||
true
|
true
|
||||||
done
|
done
|
||||||
if [ $2 == "(" ] && [ $last == ")" ] ; then
|
if [ $2 == "(" ] && [ $last == ")" ] ; then
|
||||||
check_jail_validity
|
check_jail_validity
|
||||||
|
|||||||
Reference in New Issue
Block a user