diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-06-26 19:33:52 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-06-27 13:43:33 +0000 |
commit | 8ee8f847340c3ac2264e183655fb7cdcbbfbb2cd (patch) | |
tree | c1124ab65011de6076b5b7305dad0870b72fb676 | |
parent | 80131339b7c34431e382083ef18daa6b85251d64 (diff) | |
download | podman-8ee8f847340c3ac2264e183655fb7cdcbbfbb2cd.tar.gz podman-8ee8f847340c3ac2264e183655fb7cdcbbfbb2cd.tar.bz2 podman-8ee8f847340c3ac2264e183655fb7cdcbbfbb2cd.zip |
container_internal: don't ignore error from cleanupNetwork()
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: #1002
Approved by: rhatdan
-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 { |