From: Murphy Zhou <jencce.kernel@gmail.com>
To: fstests@vger.kernel.org
Subject: [PATCH 2/2] common/quota: fix grep pattern
Date: Wed, 14 Sep 2022 17:06:10 +0800 [thread overview]
Message-ID: <20220914090610.1994485-2-jencce.kernel@gmail.com> (raw)
In-Reply-To: <20220914090610.1994485-1-jencce.kernel@gmail.com>
The second dash is not needed now. Newer grep is complaining:
+grep: warning: stray \ before -
Signed-off-by: Murphy Zhou <jencce.kernel@gmail.com>
---
common/quota | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/quota b/common/quota
index 22be3c69..01ff7e6d 100644
--- a/common/quota
+++ b/common/quota
@@ -218,7 +218,7 @@ _qmount()
quotacheck -ug $SCRATCH_MNT >>$seqres.full 2>&1
quotaon -ug $SCRATCH_MNT >>$seqres.full 2>&1
# try to turn on project quota if it's supported
- if quotaon --help 2>&1 | grep -q '\-\-project'; then
+ if quotaon --help 2>&1 | grep -q '\--project'; then
quotaon --project $SCRATCH_MNT >>$seqres.full 2>&1
fi
fi
--
2.31.1
next prev parent reply other threads:[~2022-09-14 9:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-14 9:06 [PATCH 1/2] egrep, fgrep: deprecated Murphy Zhou
2022-09-14 9:06 ` Murphy Zhou [this message]
2022-09-14 15:24 ` [PATCH 2/2] common/quota: fix grep pattern Zorro Lang
2022-09-15 5:28 ` Murphy Zhou
2022-09-14 15:15 ` [PATCH 1/2] egrep, fgrep: deprecated Zorro Lang
2022-09-15 5:27 ` Murphy Zhou
2022-09-15 6:59 ` Zorro Lang
2022-09-15 8:10 ` Zorro Lang
2022-09-20 3:17 ` Murphy Zhou
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=20220914090610.1994485-2-jencce.kernel@gmail.com \
--to=jencce.kernel@gmail.com \
--cc=fstests@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.