[Bug 1678] conntrack -D exits with nonzero status if it didn’t find any flows to delete

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Tue May 23 11:40:18 CEST 2023


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

Pablo Neira Ayuso <pablo at netfilter.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pablo at netfilter.org

--- Comment #3 from Pablo Neira Ayuso <pablo at netfilter.org> ---
I digged into the git history. This has been the behaviour since the beginning
(2007), $? is set conditionally based on the counter for deletions. If counter
is zero, then it reports failure.

-- 
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/20230523/4e58dde5/attachment.html>


More information about the netfilter-buglog mailing list