summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/src
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mount/fuse/src')
-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 682eb44..27f1aa8 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -3429,7 +3429,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 */