]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
run: respect quiet when starting timer (#4029)
authorNick Owens <mischief@offblast.org>
Wed, 24 Aug 2016 10:12:18 +0000 (03:12 -0700)
committerLennart Poettering <lennart@poettering.net>
Wed, 24 Aug 2016 10:12:18 +0000 (12:12 +0200)
src/run/run.c

index 0797547684d6493e585da8171f71769965806a9f..e8586ef61a0aaf371f591e5de51b86b4c7dab611 100644 (file)
@@ -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;
 }