nspawn: fix userns_mkdir() invocation
authorLennart Poettering <lennart@poettering.net>
Thu, 21 Nov 2024 11:16:57 +0000 (12:16 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 23 Nov 2024 08:33:06 +0000 (17:33 +0900)
commit2bd290ca026860aae71fcb8f45f3dbb07a84d928
tree156ae13cc76a73f016cc3c00dc88182cf9601bc4
parent1e9fb1d4567b37d78941f596040b0548b4982f11
nspawn: fix userns_mkdir() invocation

The wrong error code was logged.

But actually given that userns_mkdir() is fine with existing dirs, let's
drop the redundant conditionalization.

Follow-up for: a1fcaa1549d86098d0ba75254b6afc96c786b3b6
src/nspawn/nspawn.c