From ccef999f47b5db086b330e8ab85c65424ac6e994 Mon Sep 17 00:00:00 2001 From: Kusanagi Kouichi Date: Tue, 3 Dec 2019 21:10:47 +0900 Subject: [PATCH] common/rc: Prevent _scale_fsstress_args from consuming -n If first argument is -n, echo consumes it. Signed-off-by: Kusanagi Kouichi Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- common/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rc b/common/rc index 74889419..5cdd829b 100644 --- a/common/rc +++ b/common/rc @@ -3439,7 +3439,7 @@ _scale_fsstress_args() esac shift done - echo $args + printf '%s\n' "$args" } # -- 2.39.5