From: Nick Owens Date: Wed, 24 Aug 2016 10:12:18 +0000 (-0700) Subject: run: respect quiet when starting timer (#4029) X-Git-Tag: v232~262 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3dea75dead5d3b229c9780de63479ea0aa655ba5;p=thirdparty%2Fsystemd.git run: respect quiet when starting timer (#4029) --- diff --git a/src/run/run.c b/src/run/run.c index 0797547684d..e8586ef61a0 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -1185,9 +1185,11 @@ static int start_transient_timer( if (r < 0) return r; - log_info("Running timer as unit: %s", timer); - if (argv[0]) - log_info("Will run service as unit: %s", service); + if (!arg_quiet) { + log_info("Running timer as unit: %s", timer); + if (argv[0]) + log_info("Will run service as unit: %s", service); + } return 0; }