Make the exec backend return proper exitstatus.