diff options
-rw-r--r-- | libpod/container_internal.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go index 1985bb141..6531d5de0 100644 --- a/libpod/container_internal.go +++ b/libpod/container_internal.go @@ -923,7 +923,7 @@ func (c *Container) cleanup() error { // Clean up network namespace, if present if err := c.cleanupNetwork(); err != nil { - lastError = nil + lastError = err } if err := c.cleanupCgroups(); err != nil { |