summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/nbio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/torture/nbio.c b/source3/torture/nbio.c
index f4625ab632..a51424526d 100644
--- a/source3/torture/nbio.c
+++ b/source3/torture/nbio.c
@@ -290,7 +290,9 @@ static NTSTATUS delete_fn(const char *mnt, struct file_info *finfo,
{
NTSTATUS status;
char *s, *n;
- if (finfo->name[0] == '.') return;
+ if (finfo->name[0] == '.') {
+ return NT_STATUS_OK;
+ }
n = SMB_STRDUP(name);
n[strlen(n)-1] = 0;