We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4363cc6 commit a48d736Copy full SHA for a48d736
components/workspacekit/cmd/rings.go
@@ -159,7 +159,7 @@ var ring0Cmd = &cobra.Command{
159
160
_ = cmd.Process.Signal(unix.SIGTERM)
161
time.Sleep(ring1ShutdownTimeout)
162
- if cmd.Process == nil {
+ if cmd.Process == nil || cmd.ProcessState.Exited() {
163
return
164
}
165
log.WithField("status", cmd.ProcessState).WithField("pid", cmd.Process.Pid).Info("process status")
0 commit comments