<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<div>
<div class="v1v1moz-cite-prefix">On 06/12/2025 18:54, heasley wrote:</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<pre class="v1v1moz-quote-pre">Fri, Dec 05, 2025 at 11:19:22AM +0100, Marki:
</pre>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<pre class="v1v1moz-quote-pre">For example, this happens:
executing clogin -t 90 -c"terminal more disable;show running-config"
192.168.80.112
192.168.80.112: clogin error: Error: Couldn't login: 192.168.80.112
192.168.80.112: missed cmd(s): all commands
192.168.80.112: End of run not found
192.168.80.112: clean_run is false
192.168.80.112: found_end is false
Sending configs/192.168.80.112 <--- This is what I'd like to
prevent.
What setting should I use in order to prevent commit in such a case?
</pre>
</blockquote>
<pre class="v1v1moz-quote-pre">The only reason that I can imagine you would care about this is if
you have some other process that consumes the files. Assuming that
is the case, simply ignore files that have fewer than 10 lines or
less than 100 bytes or something like similar.</pre>
</blockquote>
<br />I care about it bc I like my repos clean i.e. without useless commits.</div>
<div>
<p>I'm not sure we are talking about the same thing here.</p>
<p>I'm used to not getting any empty/irrelevant config committed but instead get email notification about "missed" routers after 24 hours.</p>
<p>I'll dig a little bit further why this isn't the case with this module which I copy/pasted together from other modules.</p>
</div>
</div>
</body></html>