projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5b43a0
)
nspawn: fix an error path
author
Lennart Poettering
<lennart@poettering.net>
Wed, 19 Dec 2018 00:01:46 +0000
(
01:01
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 1 Mar 2019 13:11:06 +0000
(14:11 +0100)
src/nspawn/nspawn-mount.c
patch
|
blob
|
history
diff --git
a/src/nspawn/nspawn-mount.c
b/src/nspawn/nspawn-mount.c
index
5a9b8eb
..
916070b
100644
(file)
--- a/
src/nspawn/nspawn-mount.c
+++ b/
src/nspawn/nspawn-mount.c
@@
-910,7
+910,7
@@
static int setup_volatile_yes(
options = "mode=755";
r = tmpfs_patch_options(options, uid_shift == 0 ? UID_INVALID : uid_shift, selinux_apifs_context, &buf);
if (r < 0)
-
return log_oom()
;
+
goto fail
;
if (r > 0)
options = buf;