From 6e7bb4d3e3f9a01a04d5a476577d26ebab172a71 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 18 Jul 2025 01:12:31 +0900 Subject: [PATCH] analyze: add missing full stop in the log message Follow-up for 9a08000d186396bc8bcb8fe057720417543c3bf0 and ad6e02e7b42db35178305614e643be7a62568d87. --- src/analyze/analyze-unit-gdb.c | 4 ++-- src/analyze/analyze-unit-shell.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/analyze/analyze-unit-gdb.c b/src/analyze/analyze-unit-gdb.c index 92b8a5cb5b..fc06f86030 100644 --- a/src/analyze/analyze-unit-gdb.c +++ b/src/analyze/analyze-unit-gdb.c @@ -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); diff --git a/src/analyze/analyze-unit-shell.c b/src/analyze/analyze-unit-shell.c index 6d241eb6e1..6990aa6d9b 100644 --- a/src/analyze/analyze-unit-shell.c +++ b/src/analyze/analyze-unit-shell.c @@ -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)