mirror of
https://github.com/moby/moby.git
synced 2025-04-18 20:44:11 +03:00
Fix a logical error in the rootless setup tool where the iptables error handling was incorrectly placed. The code was setting `faced_iptables_error=1` even when iptables was available, causing unnecessary error messages and setup suggestions. This patch correctly moves the error handling into the `else` branch so that we only report iptables errors when the command is actually unavailable. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
The contrib
directory contains scripts, images, and other helpful things
which are not part of the core docker distribution. Please note that they
could be out of date, since they do not receive the same attention as the
rest of the repository.