Skip to content

Commit

Permalink
fixup! XSI-1773 clean up swtpm service files
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Lindig <[email protected]>
  • Loading branch information
Christian Lindig committed Dec 20, 2024
1 parent eb47f20 commit cace65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/forkexecd/lib/fe_systemctl.ml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ let stop ~service =
* In the unlikely scenario that this does fail we leave the transient service file behind
* so that the failure can be investigated.
* *)
if is_active ~service then action ~service "stop" ;
action ~service "stop" ;
let status = show ~service in
(* allow systemd to garbage-collect the status and the unit, preventing leaks.
* See CollectMode in systemd.unit(5) for details. *)
Expand Down

0 comments on commit cace65f

Please sign in to comment.