From 6b4549499def5b6469bfda3c3924dca9cbef9e88 Mon Sep 17 00:00:00 2001 From: James Conroy Date: Tue, 8 Feb 2022 20:56:06 -0600 Subject: [PATCH] Don't split lines after standalone tests This is to make the formatting consistent with the rest of the scripts --- salt/common/tools/sbin/so-status | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/salt/common/tools/sbin/so-status b/salt/common/tools/sbin/so-status index b4d9649f0..4e4331321 100755 --- a/salt/common/tools/sbin/so-status +++ b/salt/common/tools/sbin/so-status @@ -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