]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
run: reword a comment
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 26 Apr 2019 06:46:01 +0000 (08:46 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 26 Apr 2019 10:11:04 +0000 (12:11 +0200)
Use unicode m-dash and remove the part about discoverability, since it's just a
warning on the terminal.

src/run/run.c

index babd9027e49fd039c9bd7cd4e5bc8f61fd6da0c6..f200b28dfe52e359bc4f67675d48064f4500bf69 100644 (file)
@@ -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");