[CRIU] [PATCH] zdtm: fix silly goto loop in static/shm

Kinsbursky Stanislav skinsbursky at openvz.org
Tue Feb 7 08:14:28 EST 2012



Signed-off-by: Stanislav Kinsbursky <skinsbursky at parallels.com>

---
 test/zdtm/live/static/shm.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/test/zdtm/live/static/shm.c b/test/zdtm/live/static/shm.c
index 66b1e75..d57e2e2 100644
--- a/test/zdtm/live/static/shm.c
+++ b/test/zdtm/live/static/shm.c
@@ -166,7 +166,6 @@ out_shm:
 	if (ret < 0) {
 		fail("Failed (2) to destroy segment: %d\n", -errno);
 		fail_count++;
-		goto out_shm;
 	}
 	if (fail_count == 0)
 		pass();



More information about the CRIU mailing list