fix localized sudo pw error detection