+[ -z "$bad" ] || { printf "Is it candidate for Cc: stable@dpdk.org backport?\n$bad\n"\
+ && failure=true;}
+
+total=$(echo "$commits" | wc -l)
+if $failure ; then
+ printf "\nInvalid patch(es) found - checked $total patch"
+else
+ printf "\n$total/$total valid patch"
+fi
+[ $total -le 1 ] || printf 'es'
+printf '\n'
+$failure && exit 1 || exit 0