Fix permissions in iptables script.

pull/23/head
schizza 2024-05-03 18:19:21 +02:00
parent 23b5608727
commit b0e6348e6f
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ if [ $? -eq 0 ]; then
else
info "not found."
echo -n "Inserting iptables rule to PREROUTING chain ... "
$(iptables -I ${RULE[@]})
sudo iptables -I ${RULE[@]} 2>/dev/null
fi
EXIT_STATUS=$?
if [ $EXIT_STATUS -ne 0 ]; then