1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #835 from mrjana/overlay

Don't treat non-nil output as error in ChainExists
This commit is contained in:
aboch 2015-12-22 12:39:43 -08:00
commit 93f00879ed

View file

@ -23,7 +23,7 @@ func rawIPTables(args ...string) error {
}
func chainExists(cname string) bool {
if err := rawIPTables("-L", cname); err != nil {
if _, err := iptables.Raw("-L", cname); err != nil {
return false
}