From a53a81906127b5ed76068ab8dffb1f72079255ed Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 2 Jul 2014 14:27:52 +0000 Subject: [PATCH] torture3: Fix bug 10687 Signed-off-by: Volker Lendecke --- source3/torture/torture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/torture/torture.c b/source3/torture/torture.c index f5f8f86..eb3958e 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -710,7 +710,7 @@ static bool rw_torture3(struct cli_state *c, char *lockfname) { status = cli_openx(c, lockfname, O_RDONLY, DENY_NONE, &fnum); - if (!NT_STATUS_IS_OK(status)) { + if (NT_STATUS_IS_OK(status)) { break; } smb_msleep(10); -- 1.8.1.2