summaryrefslogtreecommitdiff
path: root/source3/torture/nbio.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-04-21 06:52:54 -0700
committerJeremy Allison <jra@samba.org>2009-04-21 06:52:54 -0700
commit5ccf58ff598cc25a64cd222d0ad593f373eacf76 (patch)
tree9f439e147a87f5ecabd5d9920bedafc69f68185e /source3/torture/nbio.c
parent4eb557bf258f2fcc771be130763634910f2a60d2 (diff)
downloadsamba-5ccf58ff598cc25a64cd222d0ad593f373eacf76.tar.gz
samba-5ccf58ff598cc25a64cd222d0ad593f373eacf76.tar.bz2
samba-5ccf58ff598cc25a64cd222d0ad593f373eacf76.zip
Make rmdir async.
Jeremy.
Diffstat (limited to 'source3/torture/nbio.c')
-rw-r--r--source3/torture/nbio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/nbio.c b/source3/torture/nbio.c
index a010c80985..998adac4e0 100644
--- a/source3/torture/nbio.c
+++ b/source3/torture/nbio.c
@@ -220,7 +220,7 @@ void nb_close(int handle)
void nb_rmdir(const char *fname)
{
- if (!cli_rmdir(c, fname)) {
+ if (!NT_STATUS_IS_OK(cli_rmdir(c, fname))) {
printf("ERROR: rmdir %s failed (%s)\n",
fname, cli_errstr(c));
exit(1);