mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Don't split lines after standalone tests
This is to make the formatting consistent with the rest of the scripts
This commit is contained in:
@@ -287,11 +287,9 @@ main() {
|
||||
|
||||
is_tty() {
|
||||
__tty=0
|
||||
[ -t 1 ] \
|
||||
&& __tty=1
|
||||
[ -t 1 ] && __tty=1
|
||||
# don't print colors if NO_COLOR is set to anything
|
||||
[ "${#NO_COLOR}" -ne 0 ] \
|
||||
&& __tty=0
|
||||
[ "${#NO_COLOR}" -ne 0 ] && __tty=0
|
||||
}
|
||||
|
||||
if ! [ "$(id -u)" = 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user