aboutsummaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-02-09 17:43:05 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-02-12 14:28:07 +0000
commita7889f8d6a6d78f91d9d12576398f468195b7abd (patch)
tree3854abafc947391a489c40dd752b0ea8eeb7a1ef /libpod
parent4f225b47c9be6f9d72997cea83c029275c3530db (diff)
downloadpodman-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
Diffstat (limited to 'libpod')
-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