From: Yu Watanabe Date: Tue, 18 Sep 2018 23:42:01 +0000 (+0900) Subject: nspawn: suppress one more log message when --quiet is passed X-Git-Tag: v240~710 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf37f937ee36b03c07c7266b3b8e4a3c6d88c4ae;p=thirdparty%2Fsystemd.git nspawn: suppress one more log message when --quiet is passed Fixes #10119. --- diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index cd2c39ac7c6..e3bfe851e30 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -2934,7 +2934,8 @@ static int outer_child( } } - log_info("Selected user namespace base " UID_FMT " and range " UID_FMT ".", arg_uid_shift, arg_uid_range); + if (!arg_quiet) + log_info("Selected user namespace base " UID_FMT " and range " UID_FMT ".", arg_uid_shift, arg_uid_range); } if (dissected_image) {