summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture/torture.c')
-rw-r--r--source3/torture/torture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index c2bc6d2481..f9d4628e8b 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -2358,6 +2358,7 @@ static bool run_locktest7(int dummy)
if (cli_read_old(cli1, fnum1, buf, 130, 4) != 4) {
printf("pid2 unable to read the range 130:4, error was %s\n", cli_errstr(cli1));
+ goto fail;
} else {
printf("pid2 successfully read the range 130:4\n");
}