make the exit trap only dump on fail

We should only dump things like the process list on a failure,
not all the time.

Change-Id: Ibf6edbeedb2fdd76ee59d3908bf1991873c5e5a3