Assorted minor follow-ups (#40673)

This commit is contained in:
Mike Yuan
2026-02-13 16:30:57 +01:00
committed by GitHub
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ sources += basic_sources
generated_gperf_headers = []
foreach item : [
# name, source, prefix, headers
# name, source, prefix, headers
['af', af_sources, '', ['<sys/socket.h>'], ],
['arphrd', arphrd_sources, 'ARPHRD_', ['<linux/if_arp.h>'], ],
['capability', capability_sources, '', ['<linux/capability.h>'], ],
+2 -2
View File
@@ -2886,7 +2886,7 @@ static void service_enter_refresh_credentials(Service *s) {
FORK_ALLOW_DLOPEN, /* allow loading libacl to avoid doing so in pid1 */
&worker);
if (r < 0) {
log_unit_error_errno(UNIT(s), r, "Failed to fork process to refresh credentials in unit's namespace: %m");
log_unit_error_errno(UNIT(s), r, "Failed to fork process to refresh credentials: %m");
goto fail;
}
if (r == 0) {
@@ -3917,7 +3917,7 @@ static int service_deserialize_item(Unit *u, const char *key, const char *value,
else if (streq(key, "refreshed-mask")) {
r = service_refresh_on_reload_from_string_many(value, &s->refreshed_mask);
if (r < 0)
log_unit_debug_errno(u, r, "Failed to parse refresh-mask value: %s", value);
log_unit_debug_errno(u, r, "Failed to parse refreshed-mask value: %s", value);
} else
log_unit_debug(u, "Unknown serialization key: %s", key);
+1 -1
View File
@@ -109,7 +109,7 @@ custom_target(
input : 'logind.conf.in',
output : 'logind.conf',
command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
install : install_sysconfdir_samples and pkgsysconfdir != 'no',
install : install_sysconfdir_samples,
install_dir : pkgconfigfiledir)
custom_target(