From: Otto Moerbeek Date: Fri, 29 Nov 2019 08:16:40 +0000 (+0100) Subject: Use [ -t 1 ] as suggested X-Git-Tag: auth-4.3.0-alpha1~19^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8583%2Fhead;p=thirdparty%2Fpdns.git Use [ -t 1 ] as suggested --- 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