Re: [PATCH] btrfs: fix grep warning at _require_btrfs_mkfs_uuid_option()

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Wed,  6 Mar 2024 15:01:57 +0000, fdmanana@xxxxxxxxxx wrote:
...
>  	cnt=$($MKFS_BTRFS_PROG --help 2>&1 | \
> -				grep -E --count "\-\-uuid|\-\-device-uuid")
> +				grep -E --count -- "--uuid|--device-uuid")
>  	if [ $cnt != 2 ]; then
>  		_notrun "Require $MKFS_BTRFS_PROG with --uuid and --device-uuid options"
>  	fi

Reviewed-by: David Disseldorp <ddiss@xxxxxxx>





[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux