bash comparisons are dumb, percent_warn now works as it should