1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

torture3: Fix an error check in torture_delete_fn()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Volker Lendecke 2022-06-28 11:58:19 +02:00 committed by Ralph Boehme
parent 3fc5f9f409
commit 08f4ee6cab

View File

@ -513,7 +513,7 @@ static NTSTATUS torture_delete_fn(struct file_info *finfo,
FILE_ATTRIBUTE_SYSTEM,
torture_delete_fn,
cli);
if (NT_STATUS_IS_OK(status)) {
if (!NT_STATUS_IS_OK(status)) {
printf("torture_delete_fn: cli_list "
"of %s failed (%s)\n",
subdirname,