summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpod/boltdb_state.go3
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