Set the background colour based on exit status.