summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/utils/mount_glusterfs.in
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mount/fuse/utils/mount_glusterfs.in')
-rwxr-xr-xxlators/mount/fuse/utils/mount_glusterfs.in16
1 files changed, 8 insertions, 8 deletions
diff --git a/xlators/mount/fuse/utils/mount_glusterfs.in b/xlators/mount/fuse/utils/mount_glusterfs.in
index 539b0f558c2..e0a06ea6925 100755
--- a/xlators/mount/fuse/utils/mount_glusterfs.in
+++ b/xlators/mount/fuse/utils/mount_glusterfs.in
@@ -380,17 +380,17 @@ with_options()
use_readdirp=$value
;;
"no-root-squash")
- if [ $value == "yes" ] ||
- [ $value == "on" ] ||
- [ $value == "enable" ] ||
- [ $value == "true" ] ; then
+ if [ $value = "yes" ] ||
+ [ $value = "on" ] ||
+ [ $value = "enable" ] ||
+ [ $value = "true" ] ; then
no_root_squash=1;
fi ;;
"root-squash")
- if [ $value == "no" ] ||
- [ $value == "off" ] ||
- [ $value == "disable" ] ||
- [ $value == "false" ] ; then
+ if [ $value = "no" ] ||
+ [ $value = "off" ] ||
+ [ $value = "disable" ] ||
+ [ $value = "false" ] ; then
no_root_squash=1;
fi ;;
*)