diff options
Diffstat (limited to 'extras/geo-rep/get-gfid.sh')
-rwxr-xr-x | extras/geo-rep/get-gfid.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/geo-rep/get-gfid.sh b/extras/geo-rep/get-gfid.sh index a4d609b0bc5..e63057db3d2 100755 --- a/extras/geo-rep/get-gfid.sh +++ b/extras/geo-rep/get-gfid.sh @@ -1,7 +1,7 @@ #!/bin/bash ATTR_STR=`getfattr -h $1 -n glusterfs.gfid.string` -GLFS_PATH=`echo $ATTR_STR | sed -e 's/# file: \(.*\) glusterfs.gfid.string*/\1/g'` +GLFS_PATH=`echo $ATTR_STR | sed -e 's/# file: \(.*\) glusterfs.gfid.string.*/\1/g'` GFID=`echo $ATTR_STR | sed -e 's/.*glusterfs.gfid.string="\(.*\)"/\1/g'` echo "$GFID $GLFS_PATH" |