run: remove period when printing started units

If you start a unit with systemd-run you usually need its name to
inspect it or stop it. Removing the period makes copying the unit name
easier.
This commit is contained in:
Iago López Galeiras
2016-03-23 15:45:32 +01:00
parent 15cb891e15
commit 110ceee58e
2 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -878,7 +878,7 @@ static int start_transient_service(
(void) sd_event_add_signal(event, NULL, SIGTERM, NULL, NULL);
if (!arg_quiet)
log_info("Running as unit %s.\nPress ^] three times within 1s to disconnect TTY.", service);
log_info("Running as unit %s\nPress ^] three times within 1s to disconnect TTY.", service);
r = pty_forward_new(event, master, PTY_FORWARD_IGNORE_INITIAL_VHANGUP, &forward);
if (r < 0)
@@ -896,7 +896,7 @@ static int start_transient_service(
fputc('\n', stdout);
} else if (!arg_quiet)
log_info("Running as unit %s.", service);
log_info("Running as unit %s", service);
return 0;
}
@@ -1038,7 +1038,7 @@ static int start_transient_scope(
return r;
if (!arg_quiet)
log_info("Running scope as unit %s.", scope);
log_info("Running scope as unit %s", scope);
execvpe(argv[0], argv, env);
@@ -1189,9 +1189,9 @@ static int start_transient_timer(
if (r < 0)
return r;
log_info("Running timer as unit %s.", timer);
log_info("Running timer as unit %s", timer);
if (argv[0])
log_info("Will run service as unit %s.", service);
log_info("Will run service as unit %s", service);
return 0;
}