From: Yu Watanabe Date: Fri, 23 Aug 2024 09:24:56 +0000 (+0900) Subject: updatectl: fix typo and drop space in empty lines X-Git-Tag: v257-rc1~638 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5537e4417c8e049c418f54a76c6926cbfeed75c0;p=thirdparty%2Fsystemd.git updatectl: fix typo and drop space in empty lines Follow-ups for ec15bb71c2ccd57702325a6e6626053a343f3511 (#32363). --- diff --git a/man/updatectl.xml b/man/updatectl.xml index 144fc5a4182..3228c808d03 100644 --- a/man/updatectl.xml +++ b/man/updatectl.xml @@ -26,7 +26,7 @@ updatectl OPTIONS COMMAND - TARGET + TARGET diff --git a/src/sysupdate/updatectl.c b/src/sysupdate/updatectl.c index 151fa9e1d7a..081c89f1e03 100644 --- a/src/sysupdate/updatectl.c +++ b/src/sysupdate/updatectl.c @@ -534,7 +534,7 @@ static int describe(sd_bus *bus, const char *target_path, const char *version) { r = terminal_urlify(*url, NULL, &changelog_link); if (r < 0) return log_error_errno(r, "Could not urlify link to change-log: %m"); - + printf("ChangeLog: %s\n", strna(changelog_link)); } printf("\n"); @@ -654,7 +654,7 @@ static int check_describe_finished(sd_bus_message *reply, void *userdata, sd_bus NULL); if (r < 0) return log_bus_error(r, &error, op->target_id, "get current version"); - + r = sd_bus_message_read_basic(reply, 's', ¤t); if (r < 0) return bus_log_parse_error(r); @@ -904,7 +904,7 @@ static int update_finished(sd_bus_message *m, void *userdata, sd_bus_error *erro } static int update_interrupted(sd_event_source *source, void *userdata) { - /* Since the event loop is exiting, we will never recieve the JobRemoved + /* Since the event loop is exiting, we will never receive the JobRemoved * signal. So, we must free the userdata here. */ _cleanup_(operation_freep) Operation *op = ASSERT_PTR(userdata); _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;