summaryrefslogtreecommitdiff
path: root/src/run
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-26 08:46:01 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-26 12:11:04 +0200
commite608bf6f7f95de208ca95f9d2d782203dd78e1ab (patch)
tree3422fda2f0ddf7a0557d73f7e7698010aa4bc397 /src/run
parent04220fda5c42427a3513078ab0fd4e3431460509 (diff)
downloadsystemd-e608bf6f7f95de208ca95f9d2d782203dd78e1ab.tar.gz
run: reword a comment
Use unicode m-dash and remove the part about discoverability, since it's just a warning on the terminal.
Diffstat (limited to 'src/run')
-rw-r--r--src/run/run.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/run/run.c b/src/run/run.c
index babd9027e4..f200b28dfe 100644
--- a/src/run/run.c
+++ b/src/run/run.c
@@ -390,11 +390,10 @@ static int parse_argv(int argc, char *argv[]) {
r = calendar_spec_next_usec(cs, now(CLOCK_REALTIME), NULL);
if (r == -ENOENT)
- /* The calendar event is in the past - let's warn about this, but install it
- * anyway as it is. The service manager will trigger the service right-away
- * then, but everything is discoverable as usual. Moreover, the server side
- * might have a different clock or timezone than we do, hence it should
- * decide when or whether to run something. */
+ /* The calendar event is in the past — let's warn about this, but install it
+ * anyway as is. The service manager will trigger the service right away.
+ * Moreover, the server side might have a different clock or timezone than we
+ * do, hence it should decide when or whether to run something. */
log_warning("Specified calendar expression is in the past, proceeding anyway.");
else if (r < 0)
return log_error_errno(r, "Failed to calculate next time calendar expression elapses: %m");