scripts: Only write to /proc route flush files if they exist
authorMartin Schwenke <martin@meltin.net>
Wed, 24 Jun 2015 11:06:22 +0000 (21:06 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 24 Feb 2016 10:44:27 +0000 (21:44 +1100)
commitd2f6e4e94c70ab559d4420398ed6efe2d73c9584
treeb42d621de5f3e45e1ee5b3a5dcb5651898cad60c
parent4cd1b54c0e38511d078dc239c4607da216705e18
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>
(Imported from commit 0c609c95051ff8c1e8fd61acc6abc7e4b4c4441b)
config/functions
tests/eventscripts/etc-ctdb/rc.local