From a37beaad025a5208b73d39b83047347d661f91a7 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 29 Nov 2019 09:16:40 +0100 Subject: [PATCH] Use [ -t 1 ] as suggested --- build-scripts/format-code | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/format-code b/build-scripts/format-code index ed4898f33b..8a34910e07 100755 --- a/build-scripts/format-code +++ b/build-scripts/format-code @@ -21,7 +21,7 @@ if [ ! -e .clang-format ]; then fi verbose=0 -if tty > /dev/null; then +if [ -t 1 ]; then verbose=1 fi if [ x$CIRCLECI = xtrue ]; then -- 2.47.2