summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.def b/templates/protocols/bgp/node.tag/neighbor/node.def
index 765c2fdc..8261e082 100644
--- a/templates/protocols/bgp/node.tag/neighbor/node.def
+++ b/templates/protocols/bgp/node.tag/neighbor/node.def
@@ -12,7 +12,7 @@ syntax:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl \
create: if /opt/vyatta/sbin/vyatta-bgp.pl --check-if-peer-group \
--peergroup $VAR(@); then
- vyatta-vtysh -c "configure terminal" \
+ vyatta-vtysh --noerr -c "configure terminal" \
-c "router bgp $VAR(../@)" \
-c "neighbor $VAR(@) peer-group";
fi;