[lxc-devel] [lxc/master] Read list until process exits

Der-Jan on Github lxc-bot at linuxcontainers.org
Fri May 29 20:30:29 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 452 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200529/5d2b054e/attachment.bin>
-------------- next part --------------
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);


More information about the lxc-devel mailing list