analyze: add missing full stop in the log message

Follow-up for 9a08000d18 and
ad6e02e7b4.
This commit is contained in:
Yu Watanabe
2025-07-18 01:39:51 +09:00
parent 9b31b3d5ee
commit 6e7bb4d3e3
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ int verb_unit_gdb(int argc, char *argv[], void *userdata) {
int r;
if (arg_transport != BUS_TRANSPORT_LOCAL)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Cannot spawn a debugger for a remote service");
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Cannot spawn a debugger for a remote service.");
r = unit_name_mangle_with_suffix(argv[1], "as unit", UNIT_NAME_MANGLE_WARN, ".service", &unit);
if (r < 0)
@@ -72,7 +72,7 @@ int verb_unit_gdb(int argc, char *argv[], void *userdata) {
return log_oom();
if (!STR_IN_SET(arg_debugger, "gdb", "lldb"))
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "The debugger must be either 'gdb' or 'lldb'");
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "The debugger must be either 'gdb' or 'lldb'.");
if (streq(arg_debugger, "gdb")) {
r = strv_extendf(&debugger_call, "--pid=" PID_FMT, pid);
+1 -1
View File
@@ -28,7 +28,7 @@ int verb_unit_shell(int argc, char *argv[], void *userdata) {
int r;
if (arg_transport != BUS_TRANSPORT_LOCAL)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Cannot spawn a unit shell for a remote service");
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Cannot spawn a unit shell for a remote service.");
r = unit_name_mangle_with_suffix(argv[1], "as unit", UNIT_NAME_MANGLE_WARN, ".service", &unit);
if (r < 0)