Update contrib/check-config.sh

Co-authored-by: Tianon Gravi <admwiggin@gmail.com>
Signed-off-by: Joakim Roubert <joakimr@axis.com>
This commit is contained in:
Joakim Roubert 2021-05-27 09:11:31 +02:00 committed by Joakim Roubert
parent 1ce955ec83
commit 0f77b22dbe

View file

@ -60,8 +60,7 @@ color() {
white) code=37 ;;
esac
if [ "$code" ]; then
[ "$codes" ] && codes="$codes "
codes="$codes$code"
codes="${codes:+$codes;}$code"
fi
fi
oldIFS=$IFS