diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-08-27 12:37:56 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-27 20:03:23 +0200 |
commit | 4e7a6277977a5117c4c2ebf4a54fbf4e592d61bd (patch) | |
tree | e16651140b4e0e31d772305c04bdd16ddd375324 /src/vmspawn | |
parent | Merge pull request #33570 from AdrianVovk/sysupdate-incomplete (diff) | |
download | systemd-4e7a6277977a5117c4c2ebf4a54fbf4e592d61bd.tar.xz systemd-4e7a6277977a5117c4c2ebf4a54fbf4e592d61bd.zip |
vmspawn: fix duplicate logging on oom
Diffstat (limited to 'src/vmspawn')
-rw-r--r-- | src/vmspawn/vmspawn-mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmspawn/vmspawn-mount.c b/src/vmspawn/vmspawn-mount.c index ee63bda96c..1845a872f2 100644 --- a/src/vmspawn/vmspawn-mount.c +++ b/src/vmspawn/vmspawn-mount.c @@ -59,7 +59,7 @@ int runtime_mount_parse(RuntimeMountContext *ctx, const char *s, bool read_only) return -EINVAL; if (!GREEDY_REALLOC(ctx->mounts, ctx->n_mounts + 1)) - return log_oom(); + return -ENOMEM; ctx->mounts[ctx->n_mounts++] = TAKE_STRUCT(mount); |