diff options
Diffstat (limited to 'xlators/mount')
-rwxr-xr-x | xlators/mount/fuse/utils/mount.glusterfs.in | 3 |
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; } |