mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 20:27:03 +00:00
![]() After `<daemon_name> is not running` message vtysh does not return error. For example if you disable ospf in `/etc/frr/daemons` and run `vtysh -c configure -c "router ospf"` it prints the message to stderr, but returns 0. This commit will make vtysh return error when not in interractive mode. But if you run commands from vtysh, you will still be able to enter views and exit them if daemon is not running. Signed-off-by: Yaroslav Fedoriachenko <yar.fed99@gmail.com> |
||
---|---|---|
.. | ||
.gitignore | ||
daemons.pl | ||
extract.pl.in | ||
Makefile | ||
subdir.am | ||
vtysh_config.c | ||
vtysh_main.c | ||
vtysh_user.c | ||
vtysh_user.h | ||
vtysh.c | ||
vtysh.h |