summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-05-11 03:27:01 -0700
committerJeremy Allison <jra@samba.org>2012-05-11 14:55:53 +0200
commit0fefe24d6f9d013b0cbb0db9d238ea473e1716ea (patch)
tree3600b00713783cb48c7a253edaf9565e6aad5d20
parent70feedbfe38d6d63913faac6fae59f010ef59abc (diff)
downloadsamba-0fefe24d6f9d013b0cbb0db9d238ea473e1716ea.tar.gz
samba-0fefe24d6f9d013b0cbb0db9d238ea473e1716ea.tar.bz2
samba-0fefe24d6f9d013b0cbb0db9d238ea473e1716ea.zip
Fix bug #8922.
Looking at the do_list status returns was historically ignored, allowing tar to continue after NT_STATUS_ACCESS_DENIED. Return to this state. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 11 14:55:53 CEST 2012 on sn-devel-104
-rw-r--r--source3/client/clitar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index b02ada427e..c0b6e4e7f1 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -891,7 +891,7 @@ strlen(finfo->name)=%d\nname=%s,cur_dir=%s\n",
return NT_STATUS_NO_MEMORY;
}
DEBUG(5, ("Doing list with mtar_mask: %s\n", mtar_mask));
- status = do_list(mtar_mask, attribute, do_tar, False, True);
+ do_list(mtar_mask, attribute, do_tar, False, True);
client_set_cur_dir(saved_curdir);
TALLOC_FREE(saved_curdir);
TALLOC_FREE(new_cd);