mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-28 17:57:25 +03:00
run: respect quiet when starting timer (#4029)
This commit is contained in:
parent
769c29d5d1
commit
3dea75dead
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user