summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2011-05-20 16:56:22 +0000
committerAnand Avati <avati@gluster.com>2011-05-30 04:48:22 -0700
commit9737ef5bbaaf2b4c02ea1710dccbd5464173b2e3 (patch)
treeec3d171acbfcb0aea2d55c54eed919e05c836fa7
parentdd55755e0ccc94f721e8ada7e50c976c9cb68c4b (diff)
mount.glusterfs: The == operator is a non-standard bash extension. = should be used instead
Thanks to: Emmanuel Dreyfus <manu@netbsd.org> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2923 (NetBSD port) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2923
-rwxr-xr-xxlators/mount/fuse/utils/mount_glusterfs.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mount/fuse/utils/mount_glusterfs.in b/xlators/mount/fuse/utils/mount_glusterfs.in
index d36fdeeda24..20600bb7c8d 100755
--- a/xlators/mount/fuse/utils/mount_glusterfs.in
+++ b/xlators/mount/fuse/utils/mount_glusterfs.in
@@ -165,7 +165,7 @@ main ()
# TODO: use getopt. This is very much darwin specific
volfile_loc="$1";
- while [ "$volfile_loc" == "-o" ] ; do
+ while [ "$volfile_loc" = "-o" ] ; do
shift ;
shift ;
volfile_loc="$1";