eventscripts: Print a warning on failure to delete a routing rule
authorMartin Schwenke <martin@meltin.net>
Wed, 13 Jun 2012 03:49:49 +0000 (13:49 +1000)
committerMartin Schwenke <martin@meltin.net>
Tue, 11 Sep 2012 02:52:22 +0000 (12:52 +1000)
commite1348221d621794b8188488365fe77db78873015
tree0341ee2df755711157c1b359bfb4e7d054c72d51
parent85cc174b91f656b4066a96d2367c1ddb473b0f81
eventscripts: Print a warning on failure to delete a routing rule

del_routing_for_ip() currently fails silently, which could hide real
errors.

In add_routing_for_ip() we don't want to see any error when calling
del_routing_for_ip(), since we don't expect the rule to be there.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 30d69defa7e97ab5e3ba0492a27868dde2616494)
ctdb/config/events.d/13.per_ip_routing