1
0
mirror of https://github.com/moby/moby.git synced 2025-04-18 20:44:11 +03:00
moby/contrib
Paweł Gronowski ead379a464
contrib/rootless-setuptool: Fix iptables detection
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>
2025-04-17 19:23:15 +02:00
..
2020-03-03 12:27:49 +09:00
2016-10-20 22:18:16 -02:00
2020-03-03 12:27:49 +09:00
2020-03-03 12:27:49 +09:00
2020-03-03 12:27:49 +09:00
2020-03-03 12:27:49 +09:00
2022-03-01 14:26:35 +08:00

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.