From: Christian Brauner Date: Mon, 18 Oct 2021 09:46:16 +0000 (+0200) Subject: conf: fix coding style X-Git-Tag: lxc-4.0.11~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c95b15d832125e2cd903df90169563ed3c5daf3;p=thirdparty%2Flxc.git conf: fix coding style Signed-off-by: Christian Brauner --- 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"); }