Skip to content
Snippets Groups Projects
Commit 40a1822e authored by erwan's avatar erwan
Browse files

Fix: the potential for internal daemons was shifted of one step (ahead) in rdbg

parent 2ce3b288
No related branches found
No related tags found
No related merge requests found
...@@ -117,6 +117,7 @@ let (make_do: string array -> SasArg.t -> ...@@ -117,6 +117,7 @@ let (make_do: string array -> SasArg.t ->
let e = !sasa_env in let e = !sasa_env in
(* 1: Get enable processes *) (* 1: Get enable processes *)
let pnall, enab_ll = Sasacore.Main.get_enable_processes p_nl_l e in let pnall, enab_ll = Sasacore.Main.get_enable_processes p_nl_l e in
let pot_sl = compute_potentiel p_nl_l e in
let silent = List.for_all (fun b -> not b) (List.flatten enab_ll) in let silent = List.for_all (fun b -> not b) (List.flatten enab_ll) in
if silent then ( if silent then (
("silent", Data.B true)::(from_sasa_env p_nl_l e) @ (get_sl_out true pl enab_ll) ("silent", Data.B true)::(from_sasa_env p_nl_l e) @ (get_sl_out true pl enab_ll)
...@@ -129,7 +130,6 @@ let (make_do: string array -> SasArg.t -> ...@@ -129,7 +130,6 @@ let (make_do: string array -> SasArg.t ->
in in
(* 3: Do the steps *) (* 3: Do the steps *)
let ne = Sasacore.Step.f pnal e in let ne = Sasacore.Step.f pnal e in
let pot_sl = compute_potentiel p_nl_l ne in
sasa_env := ne; sasa_env := ne;
("silent", Data.B false)::pot_sl @ ("silent", Data.B false)::pot_sl @
(from_sasa_env p_nl_l e) @ (get_sl_out true pl enab_ll) @ (from_sasa_env p_nl_l e) @ (get_sl_out true pl enab_ll) @
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment