From fdfc480a5637ae363f88ee917037f24b0fd79a2f Mon Sep 17 00:00:00 2001 From: Renaud Fortier Date: Tue, 21 Apr 2020 11:47:01 +0000 Subject: [PATCH] ctdb-scripts: Update nfs-ganesha-callout On debian buster, this variable doesn't exist anymore. Look at this PR as a reference: https://github.com/gluster/storhaug/pull/30 Signed-off-by: Renaud Fortier Reviewed-by: Martin Schwenke Reviewed-by: Andrew Bartlett Autobuild-User(master): Martin Schwenke Autobuild-Date(master): Thu Apr 23 08:07:51 UTC 2020 on sn-devel-184 --- ctdb/doc/examples/nfs-ganesha-callout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/doc/examples/nfs-ganesha-callout b/ctdb/doc/examples/nfs-ganesha-callout index f06b300c5b7..7c7b07413ab 100755 --- a/ctdb/doc/examples/nfs-ganesha-callout +++ b/ctdb/doc/examples/nfs-ganesha-callout @@ -297,7 +297,7 @@ nfs_startup () basic_start "nfs" _f="${procfs}/sys/net/ipv4/tcp_tw_recycle" - if [ "$_f" ] ; then + if [ -f "$_f" ] ; then echo 1 >"$_f" fi }