mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-24 22:51:19 +08:00
fix: Fix the process status error issue (#9285)
This commit is contained in:
parent
4f377c04b8
commit
9cba19d4db
1 changed files with 1 additions and 1 deletions
|
|
@ -602,7 +602,7 @@ func getProcessStatus(config *response.SupervisorProcessConfig, containerName st
|
|||
out, err = exec.Command("supervisorctl", processNames...).Output()
|
||||
output = string(out)
|
||||
}
|
||||
if containerName == "" && err != nil {
|
||||
if output == "" && err != nil {
|
||||
return err
|
||||
}
|
||||
lines := strings.Split(output, "\n")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue