From 394131a0d70bc6e6242ac8882c0a50b639fe430b Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 9 Apr 2025 09:01:01 +0200 Subject: [PATCH] feat: Podman detection (#972) --- src/network.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network.sh b/src/network.sh index f4d49ff..45e3e76 100644 --- a/src/network.sh +++ b/src/network.sh @@ -207,7 +207,7 @@ configureNAT() { if [[ $(< /proc/sys/net/ipv4/ip_forward) -eq 0 ]]; then { sysctl -w net.ipv4.ip_forward=1 > /dev/null; rc=$?; } || : if (( rc != 0 )) || [[ $(< /proc/sys/net/ipv4/ip_forward) -eq 0 ]]; then - [[ "$PODMAN" != [Yy1]* ]] && error "IP forwarding is disabled. $ADD_ERR --sysctl net.ipv4.ip_forward=1" + error "IP forwarding is disabled. $ADD_ERR --sysctl net.ipv4.ip_forward=1" return 1 fi fi