fix return codes

oops, critical == 2 and warn == 1, not the other way around :\