Fix return codes, Gentoo #209369.