diff options
| author | Raghavendra Bhat <raghavendra@redhat.com> | 2018-05-03 12:15:52 -0400 |
|---|---|---|
| committer | jiffin tony Thottan <jthottan@redhat.com> | 2018-06-11 06:40:49 +0000 |
| commit | 68e3af4cc043a460e814215be2a7953d52b048ba (patch) | |
| tree | bdcb39dd1d27fa928219ce5b8edb735556fec25f /geo-replication | |
| parent | 646a57e40685e8fb55b4649a2724ade9714df097 (diff) | |
use awk to get a specific line from the output instead of cut
cut -d$'\n' is not separating the xattrs shown as part of getfattr output.
Hence use awk to get the nth line of getfattr output for nth iteration
in the for loop.
Change-Id: I1a96cd3f72f4f407f9a783375f78d9a69d5d3885
fixes: bz#1580519
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
(cherry picked from commit bef654f48c14bfd7ce20702edff41052f6f54bdc)
Diffstat (limited to 'geo-replication')
0 files changed, 0 insertions, 0 deletions
