From d1b7986550a9ebfcd3d88180feb6b9228c642a49 Mon Sep 17 00:00:00 2001 From: schizza Date: Sun, 28 Apr 2024 17:32:32 +0200 Subject: [PATCH] Minor changes. --- iptables_redirect.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iptables_redirect.sh b/iptables_redirect.sh index fc7b298..6cf857b 100755 --- a/iptables_redirect.sh +++ b/iptables_redirect.sh @@ -84,7 +84,8 @@ EXIT_STATUS=$? if [ $EXIT_STATUS -ne 0 ]; then warn "iptables error code: ${EXIT_STATUS} " error "Rule could not be added!" +else + info "OK." fi -info "OK." info "iptables are now set to redirect incomming connections from $STATION_IP:Any -> $HA:$SRC_PORT to $HA:$DST_PORT"