Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: David Disseldorp <ddiss@suse.de>
To: fdmanana@kernel.org
Cc: fstests@vger.kernel.org, linux-btrfs@vger.kernel.org,
	Filipe Manana <fdmanana@suse.com>
Subject: Re: [PATCH] btrfs: fix grep warning at _require_btrfs_mkfs_uuid_option()
Date: Thu, 7 Mar 2024 09:59:08 +1100	[thread overview]
Message-ID: <20240307095908.34913ff0@echidna> (raw)
In-Reply-To: <ef2df19486ef71adccd14b3df0bf475ecc7f3b38.1709737287.git.fdmanana@suse.com>

On Wed,  6 Mar 2024 15:01:57 +0000, fdmanana@kernel.org 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@suse.de>


  reply	other threads:[~2024-03-06 22:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-06 15:01 [PATCH] btrfs: fix grep warning at _require_btrfs_mkfs_uuid_option() fdmanana
2024-03-06 22:59 ` David Disseldorp [this message]
2024-03-07  6:17 ` Anand Jain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240307095908.34913ff0@echidna \
    --to=ddiss@suse.de \
    --cc=fdmanana@kernel.org \
    --cc=fdmanana@suse.com \
    --cc=fstests@vger.kernel.org \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox