diff options
Diffstat (limited to 'xlators')
-rwxr-xr-x | xlators/mount/fuse/utils/mount.glusterfs.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in index 4348533b1a2..82660328363 100755 --- a/xlators/mount/fuse/utils/mount.glusterfs.in +++ b/xlators/mount/fuse/utils/mount.glusterfs.in @@ -590,16 +590,15 @@ main () volume_id="$volume_str"; } volfile_loc=""; - } - - [ -z "$volume_id" -o -z "$server_ip" ] && { - cat <<EOF >&2 + [ -z "$volume_id" -o -z "$server_ip" ] && { + cat <<EOF >&2 ERROR: Server name/volume name unspecified cannot proceed further.. Please specify correct format Usage: man 8 $0 EOF - exit 1; + exit 1; + } } grep_ret=$(echo ${mount_point} | grep '^\-o'); |