--- glusterfs-2.0.0rc4.orig/xlators/mount/fuse/utils/mount.glusterfs.in 2009-03-03 23:14:14.000000000 +0800 +++ glusterfs-2.0.0rc4/xlators/mount/fuse/utils/mount.glusterfs.in 2009-03-15 18:39:51.000000000 +0800 @@ -106,6 +106,8 @@ { options=$(echo "$@" | sed -n 's/.*\-o[ ]*\([^ ]*\).*/\1/p'); new_log_level=$(echo "$options" | sed -n 's/.*log-level=\([^,]*\).*/\1/p'); + + [ -z "$1" -o -z "$2" ] && { echo "usage: mount.glusterfs [options]" ; exit 1; } [ -n "$new_log_level" ] && { log_level_str="$new_log_level";