mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
don't give detailed errors for levels that fail
This commit is contained in:
parent
9f395dd768
commit
04b60864a6
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user