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.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in
index c805a7cd5a6..e429eca1633 100755
--- a/xlators/mount/fuse/utils/mount.glusterfs.in
+++ b/xlators/mount/fuse/utils/mount.glusterfs.in
@@ -224,7 +224,10 @@ main ()
}
done
+ # No need to do a ! -d test, it is taken care while initializing the
+ # variable mount_point
[ -z "$mount_point" ] && {
+ echo "ERROR: Mount point does not exist."
usage;
exit 0;
}