The current srun version used in MN4 returns 0 if the program crashes after MPI_Finalize, as shown by this test.