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