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:
James Conroy
2022-02-08 20:56:06 -06:00
parent 68a5826d70
commit 6b4549499d

View File

@@ -287,11 +287,9 @@ main() {
is_tty() { is_tty() {
__tty=0 __tty=0
[ -t 1 ] \ [ -t 1 ] && __tty=1
&& __tty=1
# don't print colors if NO_COLOR is set to anything # don't print colors if NO_COLOR is set to anything
[ "${#NO_COLOR}" -ne 0 ] \ [ "${#NO_COLOR}" -ne 0 ] && __tty=0
&& __tty=0
} }
if ! [ "$(id -u)" = 0 ]; then if ! [ "$(id -u)" = 0 ]; then