From cf1b6d6e71986b2d4e58395faf93448c06764446 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Wed, 1 Apr 2015 11:33:17 +1100 Subject: filter: btrfs-progs keeps changing version string The btrfs cmd now sometimes emits "btrfs-progs" not "Btrfs-progs" as it used to, so update the filter accordingly. (This fixes a failure on btrfs/006 w/ btrfs-progs v3.19) Signed-off-by: Eric Sandeen Reviewed-by: Eryu Guan Signed-off-by: Dave Chinner --- common/filter.btrfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/filter.btrfs') diff --git a/common/filter.btrfs b/common/filter.btrfs index c9b3f3a8..ea047c55 100644 --- a/common/filter.btrfs +++ b/common/filter.btrfs @@ -5,7 +5,7 @@ # Some, but not all, commands emit "Btrfs " _filter_btrfs_version() { - sed -e "s/^Btrfs.*//g" + sed -e "s/^[Bb]trfs.*//g" } _filter_devid() -- cgit v1.2.3