ctdb-scripts: Only write to /proc route flush files if they exist
commit0c609c95051ff8c1e8fd61acc6abc7e4b4c4441b
authorMartin Schwenke <martin@meltin.net>
Wed, 24 Jun 2015 11:06:22 +0000 (24 21:06 +1000)
committerAmitay Isaacs <amitay@samba.org>
Wed, 1 Jul 2015 02:18:29 +0000 (1 04:18 +0200)
tree8639c4c198e37c186d1ee8e8a8db220549a85608
parenteb159f3ff530de8828631b04e17bf0990aed906e
ctdb-scripts: Only write to /proc route flush files if they exist

On IPv4-only or IPv6-only systems one of these files will not exist.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/functions
ctdb/tests/eventscripts/etc-ctdb/rc.local