summaryrefslogtreecommitdiff
path: root/ctdb/tests
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2015-06-24 21:06:22 +1000
committerAmitay Isaacs <amitay@samba.org>2015-07-01 04:18:29 +0200
commit0c609c95051ff8c1e8fd61acc6abc7e4b4c4441b (patch)
tree8639c4c198e37c186d1ee8e8a8db220549a85608 /ctdb/tests
parenteb159f3ff530de8828631b04e17bf0990aed906e (diff)
downloadsamba-0c609c95051ff8c1e8fd61acc6abc7e4b4c4441b.tar.gz
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>
Diffstat (limited to 'ctdb/tests')
-rwxr-xr-xctdb/tests/eventscripts/etc-ctdb/rc.local1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/tests/eventscripts/etc-ctdb/rc.local b/ctdb/tests/eventscripts/etc-ctdb/rc.local
index 0291e574589..0932ab4ad03 100755
--- a/ctdb/tests/eventscripts/etc-ctdb/rc.local
+++ b/ctdb/tests/eventscripts/etc-ctdb/rc.local
@@ -23,6 +23,7 @@ nice_service ()
# Always succeeds
set_proc () { : ; }
+set_proc_maybe () { : ; }
get_proc ()
{