X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/221538a27f21e52c182ae7fcc08c78c1175395b9..1f54b02518eb90c6e6eb1a0520975b2d2b127769:/examples/msg/token_ring/token_bypass.c diff --git a/examples/msg/token_ring/token_bypass.c b/examples/msg/token_ring/token_bypass.c index 390200849a..a5690e7b2d 100644 --- a/examples/msg/token_ring/token_bypass.c +++ b/examples/msg/token_ring/token_bypass.c @@ -121,7 +121,7 @@ int main(int argc, char **argv) res = MSG_main(); XBT_INFO("Simulation time %g", MSG_get_clock()); - MSG_clean(); + if (res == MSG_OK) return 0; else