summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-02-05 03:02:14 +0000
committerAndrew Tridgell <tridge@samba.org>2002-02-05 03:02:14 +0000
commit2c67b266cc4848dff6066fcbc875ab5f91113179 (patch)
tree86b6a5d33c4eee6a800cb18f7f65f69f0abd3921 /source
parentd1e911afd08971c6cf5429bda929663a5dd8f63d (diff)
downloadsamba-2c67b266cc4848dff6066fcbc875ab5f91113179.tar.gz
samba-2c67b266cc4848dff6066fcbc875ab5f91113179.tar.xz
samba-2c67b266cc4848dff6066fcbc875ab5f91113179.zip
fixed the directory removal for when the dir doesn't exit
Diffstat (limited to 'source')
-rw-r--r--source/torture/nbio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/torture/nbio.c b/source/torture/nbio.c
index 0785c4e196b..3262fdab6ae 100644
--- a/source/torture/nbio.c
+++ b/source/torture/nbio.c
@@ -280,7 +280,7 @@ void nb_deltree(char *dname)
cli_list(c, mask, aDIR, delete_fn, NULL);
free(mask);
- nb_rmdir(dname);
+ cli_rmdir(c, dname);
if (total_deleted) printf("WARNING: Cleaned up %d files\n", total_deleted);
}