diff options
Diffstat (limited to 'ctdb')
-rwxr-xr-x | ctdb/config/nfs-linux-kernel-callout | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/config/nfs-linux-kernel-callout b/ctdb/config/nfs-linux-kernel-callout index def69a04649..71d8ecf8074 100755 --- a/ctdb/config/nfs-linux-kernel-callout +++ b/ctdb/config/nfs-linux-kernel-callout @@ -281,8 +281,8 @@ nfs_startup () basic_stop "nfs" || true basic_start "nfs" _f="${PROCFS_PATH}/sys/net/ipv4/tcp_tw_recycle" - if [ "$_f" ] ; then - echo 1 >"$_f" + if [ -f "$_f" ] ; then + echo 1 >"$_f" fi } |