[lxc-devel] [lxc/master] Read list until process exits
Christian Brauner
christian.brauner at ubuntu.com
Sat May 30 14:19:20 UTC 2020
On Fri, May 29, 2020 at 01:30:29PM -0700, Der-Jan on Github wrote:
> From 51d588f42b075ad8a4b38ae871a96c73d639153c Mon Sep 17 00:00:00 2001
> From: Der-Jan <de at r-jan.de>
> Date: Fri, 29 May 2020 22:25:13 +0200
> Subject: [PATCH] Read list until process exits
>
> ---
> src/lxc/storage/zfs.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/src/lxc/storage/zfs.c b/src/lxc/storage/zfs.c
> index ee9e32d0a6..9b8248dd44 100644
> --- a/src/lxc/storage/zfs.c
> +++ b/src/lxc/storage/zfs.c
> @@ -100,7 +100,6 @@ static bool zfs_list_entry(const char *path, char *output, size_t inlen)
> while (fgets(output, inlen, f->f)) {
> if (strstr(output, path)) {
> found = true;
> - break;
> }
> }
> (void)lxc_pclose(f);
Can you send this a github PR? If not I can also pick it up from here.
Christian
More information about the lxc-devel
mailing list