summaryrefslogtreecommitdiff
path: root/usr/libexec
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2025-05-29 22:13:32 +0000
committerJohn Klug <john.klug@multitech.com>2025-05-29 22:13:32 +0000
commit820e55712dd382975b23f0b617ec7500b27d58cd (patch)
tree3a87702bfea083f7218f6be8188a94df858a121e /usr/libexec
parentd9f183a43bc5eaeb15533d077e957c6db04ac276 (diff)
downloadcommissioning-820e55712dd382975b23f0b617ec7500b27d58cd.tar.gz
commissioning-820e55712dd382975b23f0b617ec7500b27d58cd.tar.bz2
commissioning-820e55712dd382975b23f0b617ec7500b27d58cd.zip
Prevent failure on the nfoff script when filters do not exist in netfilter
Diffstat (limited to 'usr/libexec')
-rwxr-xr-xusr/libexec/commission/nfoff.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/libexec/commission/nfoff.sh b/usr/libexec/commission/nfoff.sh
index 3c302df..bba9bad 100755
--- a/usr/libexec/commission/nfoff.sh
+++ b/usr/libexec/commission/nfoff.sh
@@ -3,4 +3,4 @@ for handle in $(nft -a list table inet filter | grep iifname | sed -E 's/.*#[[:s
echo "Enable wwan0: nft delete rule inet filter input handle ${handle}"
nft delete rule inet filter input handle ${handle}
done
-nft -a list table inet filter
+nft -a list table inet filter 2>/dev/null || true