From: Yu Watanabe Date: Thu, 17 Jul 2025 16:12:31 +0000 (+0900) Subject: analyze: add missing full stop in the log message X-Git-Tag: v258-rc1~36^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e7bb4d3e3f9a01a04d5a476577d26ebab172a71;p=thirdparty%2Fsystemd.git analyze: add missing full stop in the log message Follow-up for 9a08000d186396bc8bcb8fe057720417543c3bf0 and ad6e02e7b42db35178305614e643be7a62568d87. --- diff --git a/src/analyze/analyze-unit-gdb.c b/src/analyze/analyze-unit-gdb.c index 92b8a5cb5bd..fc06f860308 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 6d241eb6e10..6990aa6d9be 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)