]> git.puffer.fish Git - mirror/frr.git/commit
vtysh: Fixup extract.pl to intentionally fail on error 5904/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 4 Mar 2020 01:50:15 +0000 (20:50 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 4 Mar 2020 01:50:15 +0000 (20:50 -0500)
commit73a8e4fbaf8348299d758dc0dc00e3ab486f9a3e
treea59a480bcb743f8825ee7529d4fac89913d6a3e0
parent22d4e6c0ac50d58ab7765cbf8ce24f331dc9b6fa
vtysh: Fixup extract.pl to intentionally fail on error

When extracting the cli for vtysh into vtysh_cmd.c when
the compilation fails it will just silently ignore the
issue and not include the cli in vtysh at all.  Leaving
everyone attempting to figure out wtf just happened.

Modify the code to intentionally crash with some modicrum
of a chance to allow the developer to find and fix their
own mistakes.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
vtysh/extract.pl.in