From a7889f8d6a6d78f91d9d12576398f468195b7abd Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Fri, 9 Feb 2018 17:43:05 -0500 Subject: Check error when checking ctr dependencies Signed-off-by: Matthew Heon Closes: #184 Approved by: baude --- libpod/boltdb_state.go | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3-54-g00ecf