fstests.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kusanagi Kouichi <slash@ac.auone-net.jp>
To: fstests@vger.kernel.org
Subject: [PATCH] common/rc: Prevent _scale_fsstress_args from consuming -n
Date: Tue, 3 Dec 2019 21:10:47 +0900	[thread overview]
Message-ID: <20191203121047394.YXCJ.12796.ppp.dion.ne.jp@dmta0009.auone-net.jp> (raw)

If first argument is -n, echo consumes it.

Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
---
 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/rc b/common/rc
index 6943f19f..7b954860 100644
--- a/common/rc
+++ b/common/rc
@@ -3433,7 +3433,7 @@ _scale_fsstress_args()
         esac
         shift
     done
-    echo $args
+    printf '%s\n' "$args"
 }
 
 #
-- 
2.24.0


                 reply	other threads:[~2019-12-03 12:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20191203121047394.YXCJ.12796.ppp.dion.ne.jp@dmta0009.auone-net.jp \
    --to=slash@ac.auone-net.jp \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).