<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/16140">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">logging/vty: fix: actually ignore deprecated commands, do not abort<br><br>We shall not prevent programs from starting if their configuration<br>files contain deprecated commands. Just print a warning and return<br>CMD_SUCCESS instead of CMD_WARNING.<br><br>Change-Id: Ia934581410cd41594791d4e14ee74c16abe1009a<br>Fixes: Ic9c1b566ec4a459f03e6319cf369691903cf9d00<br>---<br>M src/vty/logging_vty.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/40/16140/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c</span><br><span>index b4c3776..07bc26b 100644</span><br><span>--- a/src/vty/logging_vty.c</span><br><span>+++ b/src/vty/logging_vty.c</span><br><span>@@ -998,7 +998,7 @@</span><br><span> static int log_deprecated_func(struct cmd_element *cmd, struct vty *vty, int argc, const char *argv[])</span><br><span> {</span><br><span>     vty_out(vty, "%% Ignoring deprecated '%s'%s", cmd->string, VTY_NEWLINE);</span><br><span style="color: hsl(0, 100%, 40%);">-   return CMD_WARNING;</span><br><span style="color: hsl(120, 100%, 40%);">+   return CMD_SUCCESS; /* Otherwise a program would terminate immediately */</span><br><span> }</span><br><span> </span><br><span> void logging_vty_add_deprecated_subsys(void *ctx, const char *name)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/16140">change 16140</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/16140"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ia934581410cd41594791d4e14ee74c16abe1009a </div>
<div style="display:none"> Gerrit-Change-Number: 16140 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>