mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
container_internal: don't ignore error from cleanupNetwork()
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #1002 Approved by: rhatdan
This commit is contained in:

committed by
Atomic Bot

parent
80131339b7
commit
8ee8f84734
@ -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 {
|
||||
|
Reference in New Issue
Block a user