Skip to content

Commit cace65f

Browse files
author
Christian Lindig
committed
fixup! XSI-1773 clean up swtpm service files
Signed-off-by: Christian Lindig <[email protected]>
1 parent eb47f20 commit cace65f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/forkexecd/lib/fe_systemctl.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ let stop ~service =
125125
* In the unlikely scenario that this does fail we leave the transient service file behind
126126
* so that the failure can be investigated.
127127
* *)
128-
if is_active ~service then action ~service "stop" ;
128+
action ~service "stop" ;
129129
let status = show ~service in
130130
(* allow systemd to garbage-collect the status and the unit, preventing leaks.
131131
* See CollectMode in systemd.unit(5) for details. *)

0 commit comments

Comments
 (0)