]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
Make xfs_info handle mount points with spaces
authorBarry Naujok <bnaujok@sgi.com>
Mon, 21 Jan 2008 15:09:18 +0000 (15:09 +0000)
committerBarry Naujok <bnaujok@sgi.com>
Mon, 21 Jan 2008 15:09:18 +0000 (15:09 +0000)
Merge of master-melb:xfs-cmds:30386a by kenmcd.

  Make xfs_info handle mount points with spaces

growfs/xfs_info.sh

index 4da68f96dbbcf07f14f246df7742cf7510c691a8..a9f6036720ba776ff01ec0841c3be0696d323962 100755 (executable)
@@ -16,10 +16,10 @@ do
                ;;
        esac
 done
-set -- extra $@
+set -- extra "$@"
 shift $OPTIND
 case $# in
-       1)      xfs_growfs -p xfs_info -n $OPTS $1
+       1)      xfs_growfs -p xfs_info -n $OPTS "$1"
                status=$?
                ;;
        *)      echo $USAGE 1>&2