From 65d832931b308c42772016a6bff05c8a980ac70d Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Mon, 18 Oct 2021 11:46:16 +0200 Subject: [PATCH] conf: fix coding style Signed-off-by: Christian Brauner --- src/lxc/conf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index db6c0434a..bbce64049 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -579,9 +579,8 @@ int lxc_rootfs_init(struct lxc_conf *conf, bool userns) PROTECT_LOOKUP_BENEATH, S_IWUSR | S_IRUSR); if (fd_pin < 0) { - if (errno == EROFS) { + if (errno == EROFS) return log_trace_errno(0, EROFS, "Not pinning on read-only filesystem"); - } return syserror("Failed to pin rootfs"); }