older bash compat
fix non zero exit