Commit c6dc9b43 authored by erwan's avatar erwan
Browse files

Update: do not exit in error when the last event is reached

parent 72b93ffb
Pipeline #70330 passed with stages
in 4 minutes and 28 seconds
(* Time-stamp: <modified the 02/04/2021 (at 11:29) by Erwan Jahier> *)
(* Time-stamp: <modified the 01/07/2021 (at 15:12) by Erwan Jahier> *)
(* Mimick the behavior of 'rdbg -lurette', but without the dependency
on ocaml *)
......@@ -142,9 +142,8 @@ let _ =
RdbgRun.clean_terminate();
flush stderr;
exit 2
| RdbgEvent.End(i) ->
RdbgRun.clean_terminate();
exit i
| RdbgEvent.End(_i) ->
RdbgRun.clean_terminate()
| pb ->
Printf.fprintf args.ocr "\n%s\n%!" (Printexc.to_string pb);
RdbgRun.clean_terminate();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment