Quadratic characters with non-negative partial sums