summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/container.go')
-rw-r--r--libpod/container.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpod/container.go b/libpod/container.go
index 3de0ed02e..8a2ff1fad 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -516,9 +516,9 @@ func (c *Container) Start() error {
return nil
}
-// Stop uses the container's requested stop signal (or SIGTERM if no signal was
-// specified) to stop the container, and if it has not stopped after the given
-// timeout (in seconds), uses SIGKILL to attempt to forcibly stop the container
+// Stop uses the container's stop signal (or SIGTERM if no signal was specified)
+// to stop the container, and if it has not stopped after the given timeout (in
+// seconds), uses SIGKILL to attempt to forcibly stop the container.
// If timeout is 0, SIGKILL will be used immediately
func (c *Container) Stop(timeout int64) error {
c.lock.Lock()