diff options
Diffstat (limited to 'src/core/namespace.c')
-rw-r--r-- | src/core/namespace.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c index 32338cdc60..4c411096a1 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -276,10 +276,8 @@ static int mount_kdbus(BindMount *m) { u = umask(0000); - if (!mkdtemp(temporary_mount)) { - log_error_errno(errno, "Failed create temp dir: %m"); - return -errno; - } + if (!mkdtemp(temporary_mount)) + return log_error_errno(errno, "Failed create temp dir: %m"); root = strappenda(temporary_mount, "/kdbus"); (void)mkdir(root, 0755); |