Skip to content

Commit 9f0b5f2

Browse files
authored
Merge pull request #210 from yizhanglinux/md-002-fix
md/002: ignore the "File descripto leaked" log from vgdisplay
2 parents d4b9edc + 30491a6 commit 9f0b5f2

File tree

1 file changed

+1
-1
lines changed
  • tests/md

1 file changed

+1
-1
lines changed

tests/md/rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ declare -A MD_DEVICES
9292
_get_vgsize() {
9393
local vgsize
9494

95-
vgsize=$(vgdisplay --units b blktests_vg00 | grep 'VG Size' | tr -d -c 0-9)
95+
vgsize=$(vgdisplay --units b blktests_vg00 2> /dev/null | grep 'VG Size' | tr -d -c 0-9)
9696
echo "$vgsize"
9797
}
9898

0 commit comments

Comments
 (0)