mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-17 22:05:27 +00:00
conf: fix coding style
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
27d9212bf8
commit
65d832931b
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user