]> git.puffer.fish Git - matthieu/frr.git/commit
[vtysh] Make vtysh more useable for scripting
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 28 Jul 2008 19:19:04 +0000 (12:19 -0700)
committerPaul Jakma <paul@quagga.net>
Thu, 18 Jun 2009 19:18:24 +0000 (20:18 +0100)
commit57fb974856b9ae143ca5642e279d181a45bbdd10
tree5008d2b2fc2b061747d7afaf27c4f3f197f8ed93
parent0fbd62a17c53f1e2695c0f96ffb437cd079abacb
[vtysh] Make vtysh more useable for scripting

Add environment variable (VTYSH_LOG) for logging.
If a command fails, exit with non-zero exit code and don't
continue multipart commands.
vtysh/vtysh.c
vtysh/vtysh.h
vtysh/vtysh_main.c