nspawn: fix an error path

This commit is contained in:
Lennart Poettering
2019-03-01 14:11:06 +01:00
parent e5b43a04b6
commit c55d0ae764
+1 -1
View File
@@ -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;