diff --git a/src/cmd/run.go b/src/cmd/run.go index 0d6e3d084..64ca61379 100644 --- a/src/cmd/run.go +++ b/src/cmd/run.go @@ -273,8 +273,8 @@ func runCommand(container string, signal := <-signalChannel logrus.Debugf("Got signal %d, killing cgroup", signal) - cgroupFilePath := fmt.Sprintf("/proc/%d/cgroup", entryPointPID); - cgroupId, err := os.ReadFile(cgroupFilePath); + cgroupFilePath := fmt.Sprintf("/proc/%d/cgroup", entryPointPID) + cgroupId, err := os.ReadFile(cgroupFilePath) if err != nil { logrus.Debugf("Could not look up cgroup of container %s: %s", container, err) return