summaryrefslogtreecommitdiffstats
path: root/src/sysext
diff options
context:
space:
mode:
authorKrzesimir Nowak <knowak@microsoft.com>2024-04-11 14:41:17 +0200
committerKrzesimir Nowak <knowak@microsoft.com>2024-04-19 08:59:10 +0200
commitb2370203d92d23422db06e387ecfefeddb124c0c (patch)
tree30f652ec78dc568ffaa6cfa83be91bf7fea354e1 /src/sysext
parentsysext: Use the new path-util helper (diff)
downloadsystemd-b2370203d92d23422db06e387ecfefeddb124c0c.tar.xz
systemd-b2370203d92d23422db06e387ecfefeddb124c0c.zip
sysext: Use EPROTO for child failure
Diffstat (limited to 'src/sysext')
-rw-r--r--src/sysext/sysext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c
index ad8785cd46..a1397d7d05 100644
--- a/src/sysext/sysext.c
+++ b/src/sysext/sysext.c
@@ -1788,7 +1788,7 @@ static int merge(ImageClass image_class,
if (r == 123) /* exit code 123 means: didn't do anything */
return 0;
if (r > 0)
- return log_error_errno(SYNTHETIC_ERRNO(ENXIO), "Failed to merge hierarchies");
+ return log_error_errno(SYNTHETIC_ERRNO(EPROTO), "Failed to merge hierarchies");
r = need_reload(image_class, hierarchies, no_reload);
if (r < 0)