test all of $?, for things like core dumps (thanks ribasushi)