[lxc-devel] [lxc/master] TESTING
brauner on Github
lxc-bot at linuxcontainers.org
Wed Feb 20 20:05:31 UTC 2019
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190220/294fb458/attachment.bin>
-------------- next part --------------
From 1652e92c68777b6f2f43224ebe3fedd87da3a4e3 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Wed, 20 Feb 2019 21:04:49 +0100
Subject: [PATCH] TESTING
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
src/lxc/freezer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lxc/freezer.c b/src/lxc/freezer.c
index 953d9d8b8..4c86a9b31 100644
--- a/src/lxc/freezer.c
+++ b/src/lxc/freezer.c
@@ -70,7 +70,7 @@ static int do_freeze_thaw(bool freeze, struct lxc_conf *conf, const char *name,
return -1;
}
- for (;;) {
+ while (true) {
ret = cgroup_ops->get(cgroup_ops, "freezer.state", v, sizeof(v),
name, lxcpath);
if (ret < 0) {
More information about the lxc-devel
mailing list