summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index 096ca93df..4618a3785 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -3648,7 +3648,7 @@ init (xlator_t *this_xl)
ret = dict_get_double (options, "entry-timeout",
&priv->entry_timeout);
- if (!priv->entry_timeout)
+ if (ret != 0)
priv->entry_timeout = 1.0; /* default */