iproute2/bridge
Roopa Prabhu 42ecedd4ba fix ip -force -batch to continue on errors
This patch replaces exits with returns in several
iproute2 commands. This fixes `ip -batch -force`
to not exit but continue on errors.

$cat c.txt
route del 1.2.3.0/24 dev eth0
route del 1.2.4.0/24 dev eth0
route del 1.2.5.0/24 dev eth0
route add 1.2.3.0/24 dev eth0

$ip -force -batch c.txt
RTNETLINK answers: No such process
Command failed c.txt:2
RTNETLINK answers: No such process
Command failed c.txt:3

Reported-by: Sven-Haegar Koch <haegar@sdinet.de>
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
2015-03-24 14:59:40 -07:00
..
.gitignore Add bridge command 2012-08-01 15:23:49 -07:00
Makefile bridge: Allow to easy change network namespace 2014-12-27 10:22:32 -08:00
br_common.h iproute2: bridge vlan show new option to print ranges 2015-02-05 10:46:31 -08:00
bridge.c iproute2: bridge vlan show new option to print ranges 2015-02-05 10:46:31 -08:00
fdb.c fix ip -force -batch to continue on errors 2015-03-24 14:59:40 -07:00
link.c fix ip -force -batch to continue on errors 2015-03-24 14:59:40 -07:00
mdb.c fix ip -force -batch to continue on errors 2015-03-24 14:59:40 -07:00
monitor.c Use one func to print timestamp from nlmsg 2015-01-13 17:34:47 -08:00
vlan.c fix ip -force -batch to continue on errors 2015-03-24 14:59:40 -07:00