grep kills error return code