Return error if the exec'd program exited via a signal