[Bug 1135] When used as a script interpreter, nft fails if extra arguments are passed

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Fri Aug 28 09:44:33 CEST 2020


https://bugzilla.netfilter.org/show_bug.cgi?id=1135

--- Comment #3 from kfm at plushkava.net ---
Use env(1) from coreutils. It has a --split-string option that supports the
given use-case.

#!/usr/bin/env -S nft -I /usr/local/etc/nftables -I /etc/nftables -f

Otherwise, this bug is invalid because it is something that would have to be
addressed by the kernel. See also, https://lkml.org/lkml/2004/2/16/74.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20200828/b7b4c57c/attachment.html>


More information about the netfilter-buglog mailing list