diff options
author | Renaud Fortier <renaud.fortier@fsaa.ulaval.ca> | 2020-04-21 11:47:01 +0000 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2020-04-23 08:07:51 +0000 |
commit | fdfc480a5637ae363f88ee917037f24b0fd79a2f (patch) | |
tree | 1f0057e3c62957ff78cb7ae0aaa939dae70ef829 /ctdb | |
parent | 54a3560498446868fb7c80dbacec7246fe33902c (diff) | |
download | samba-fdfc480a5637ae363f88ee917037f24b0fd79a2f.tar.gz |
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 <renaud.fortier@fsaa.ulaval.ca>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Thu Apr 23 08:07:51 UTC 2020 on sn-devel-184
Diffstat (limited to 'ctdb')
-rwxr-xr-x | ctdb/doc/examples/nfs-ganesha-callout | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |