From 44bb8cd5867e329d03eed89ce34a5181f99c7c89 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 16 Nov 2017 22:05:12 +0100 Subject: [PATCH] Let the output match other tests more closely --- doc/scripts/clint.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/scripts/clint.sh b/doc/scripts/clint.sh index fc2bf62..c3f5fa0 100755 --- a/doc/scripts/clint.sh +++ b/doc/scripts/clint.sh @@ -61,9 +61,7 @@ _clint() [ -d "../$subdir" ] || continue for filename in $($FIND "../$subdir" -type f -a -name '*.c' | $SORT); do (_clint_file "$filename") - if [ $? -eq 0 ]; then - echo "$PROGNAME: $filename: OK" 1>&2 - else + if [ $? -ne 0 ]; then echo "$PROGNAME: $filename: FAIL" 1>&2 ret=2 fi