Let the output match other tests more closely

This commit is contained in:
Pierre Pronchery 2017-11-16 22:05:12 +01:00
parent df7126897a
commit 44bb8cd586

View File

@ -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