From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH 07/18] conf: Don't print configuration on --quiet Date: Tue, 22 Feb 2022 02:34:23 +0100 Message-ID: <20220222013434.4116044-8-sbrivio@redhat.com> In-Reply-To: <20220222013434.4116044-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6824342833557348985==" --===============6824342833557348985== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Signed-off-by: Stefano Brivio --- conf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf.c b/conf.c index 2984ac2..41895de 100644 --- a/conf.c +++ b/conf.c @@ -1239,5 +1239,6 @@ void conf(struct ctx *c, int argc, char **argv) } } - conf_print(c); + if (!c->quiet) + conf_print(c); } -- 2.34.1 --===============6824342833557348985==--