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 5bd2d84 commit e3a2b0fCopy full SHA for e3a2b0f
cli/internal/simulation/service/service.go
@@ -82,6 +82,11 @@ var stopSignals = []os.Signal{
82
83
// Signal - sends a signal to the service process
84
func (s *ServiceSimulation) Signal(sig os.Signal) {
85
+ // Check if command was ever started
86
+ if s.cmd == nil || s.cmd.Process == nil {
87
+ return
88
+ }
89
+
90
if slices.Contains(stopSignals, sig) {
91
s.autoRestart = false
92
s.updateStatus(Status_Stopping)
0 commit comments