summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Owens <mischief@offblast.org>2016-08-24 03:12:18 -0700
committerLennart Poettering <lennart@poettering.net>2016-08-24 12:12:18 +0200
commit3dea75dead5d3b229c9780de63479ea0aa655ba5 (patch)
tree7ed3aa8d78233de023ea66cf6e7226dc6eebc241
parent769c29d5d12532e81c983d9946961ce084609571 (diff)
run: respect quiet when starting timer (#4029)
-rw-r--r--src/run/run.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/run/run.c b/src/run/run.c
index 0797547684..e8586ef61a 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;
}