diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-02-09 17:43:05 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-02-12 14:28:07 +0000 |
commit | a7889f8d6a6d78f91d9d12576398f468195b7abd (patch) | |
tree | 3854abafc947391a489c40dd752b0ea8eeb7a1ef | |
parent | 4f225b47c9be6f9d72997cea83c029275c3530db (diff) | |
download | podman-a7889f8d6a6d78f91d9d12576398f468195b7abd.tar.gz podman-a7889f8d6a6d78f91d9d12576398f468195b7abd.tar.bz2 podman-a7889f8d6a6d78f91d9d12576398f468195b7abd.zip |
Check error when checking ctr dependencies
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Closes: #184
Approved by: baude
-rw-r--r-- | libpod/boltdb_state.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/boltdb_state.go b/libpod/boltdb_state.go index 2ca0319d0..b27588b74 100644 --- a/libpod/boltdb_state.go +++ b/libpod/boltdb_state.go @@ -1167,6 +1167,9 @@ func (s *BoltState) RemovePodContainers(pod *Pod) error { } return nil }) + if err != nil { + return err + } } // Dependencies are set, we're clear to remove |