<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:phil@nwl.cc" title="Phil Sutter <phil@nwl.cc>"> <span class="fn">Phil Sutter</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - conntrack -D exits with nonzero status if it didn’t find any flows to delete"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1678">bug 1678</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>phil@nwl.cc
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WONTFIX
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - conntrack -D exits with nonzero status if it didn’t find any flows to delete"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1678#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - conntrack -D exits with nonzero status if it didn’t find any flows to delete"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1678">bug 1678</a>
from <span class="vcard"><a class="email" href="mailto:phil@nwl.cc" title="Phil Sutter <phil@nwl.cc>"> <span class="fn">Phil Sutter</span></a>
</span></b>
<pre>I guess it's a matter of defining what a "successful operation" is in this
regard and for conntrack, it seems to involve finding at least a single flow to
delete.
If we change this, it may break others' scripts.
If you have to distinguish between errors and "nothing to do", you could grep
for the '0 flow entries have been deleted.' message - it is not printed in
error case. Or just check if there's output on stderr.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>