diff --git a/libpod/boltdb_state.go b/libpod/boltdb_state.go index 2ca0319d00..b27588b747 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