diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-08-15 15:12:30 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-08-15 15:12:30 +0000 |
commit | d0a91f4ef2b41edc95fa5c87ae9416f8a40d3b72 (patch) | |
tree | c8284ab94baef7e9fcb01d1b1d449ae5080a38d2 | |
parent | 33f413a6bf9435a51732547c386206f6deaefe2c (diff) | |
download | samba-d0a91f4ef2b41edc95fa5c87ae9416f8a40d3b72.tar.gz samba-d0a91f4ef2b41edc95fa5c87ae9416f8a40d3b72.tar.bz2 samba-d0a91f4ef2b41edc95fa5c87ae9416f8a40d3b72.zip |
don't give detailed errors for levels that fail
(This used to be commit 04b60864a67fa320f6de5f1f457b9de9bb46b730)
-rw-r--r-- | source4/torture/raw/qfsinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/raw/qfsinfo.c b/source4/torture/raw/qfsinfo.c index 274d1073af..4d157383f6 100644 --- a/source4/torture/raw/qfsinfo.c +++ b/source4/torture/raw/qfsinfo.c @@ -54,7 +54,8 @@ static union smb_fsinfo *find(const char *name) { int i; for (i=0; levels[i].name; i++) { - if (strcmp(name, levels[i].name) == 0) { + if (strcmp(name, levels[i].name) == 0 && + NT_STATUS_IS_OK(levels[i].status)) { return &levels[i].fsinfo; } } |