mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-06 01:59:57 +00:00
Merge pull request #6787 from toreanderson/master
tools: do not silently ignore errors when loading config during startup
This commit is contained in:
commit
f41f38d88d
@ -77,7 +77,7 @@ vtysh_b ()
|
||||
{
|
||||
# Rember, that all variables have been incremented by 1 in convert_daemon_prios()
|
||||
if [ "$vtysh_enable" = 2 -a -f $C_PATH/frr.conf ]; then
|
||||
$VTYSH -b -n
|
||||
$VTYSH -b
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -65,9 +65,9 @@ vtysh_b () {
|
||||
[ "$1" = "watchfrr" ] && return 0
|
||||
[ -r "$C_PATH/frr.conf" ] || return 0
|
||||
if [ -n "$1" ]; then
|
||||
"$VTYSH" `echo $nsopt` -b -n -d "$1"
|
||||
"$VTYSH" `echo $nsopt` -b -d "$1"
|
||||
else
|
||||
"$VTYSH" `echo $nsopt` -b -n
|
||||
"$VTYSH" `echo $nsopt` -b
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user