make xfs_info work on mountpoints with spaces
PATCH 1/1 make xfs_info work on mountpoints with spaces
I don't know why one would make mountpoints with spaces, but apparently people do:
[Bug 402621] New: xfs_info doesn't handle mountpoint with spaces
https://bugzilla.redhat.com/show_bug.cgi?id=402621
I'm no bash expert but I think this solves it:
Signed-off-by Eric Sandeen <[email protected]>
---
xfsprogs/growfs/xfs_info.sh +2 -2
@@ -16,10 +16,10 @@ ;; 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