Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit b100fef

Browse files
committed
...
1 parent 9a7ef1c commit b100fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zinit/lifecycle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ impl LifecycleManager {
666666

667667
// Verify the service is actually stopped
668668
if let Ok(status) = self.status(&name).await {
669-
if status.pid != 0 {
669+
if status.pid != Pid::from_raw(0) {
670670
// Service is still running, try to kill it
671671
let _ = self.kill(&name, signal::Signal::SIGKILL).await;
672672
}

0 commit comments

Comments
 (0)