]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: suppress one more log message when --quiet is passed
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 18 Sep 2018 23:42:01 +0000 (08:42 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 19 Sep 2018 06:42:17 +0000 (08:42 +0200)
Fixes #10119.

src/nspawn/nspawn.c

index cd2c39ac7c6467d040c2a070eea3f9e3def5953a..e3bfe851e301861aa8d61ea0d46dfd1162a08a24 100644 (file)
@@ -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) {