diff options
-rw-r--r-- | source3/torture/torture.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index e364b17f7c..14dfad152a 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -4245,8 +4245,9 @@ static bool run_deletetest(int dummy) printf("[8] open of %s succeeded should have been deleted on close !\n", fname); goto fail; correct = False; - } else - printf("eighth delete on close test succeeded.\n"); + } + + printf("eighth delete on close test succeeded.\n"); /* This should fail - we need to set DELETE_ACCESS. */ status = cli_ntcreate(cli1, fname, 0, FILE_READ_DATA|FILE_WRITE_DATA, |