mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
s3: smbd: In set_ea_dos_attribute() cause root fallback code to exit via the same place.
We're going to add another action on success next. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15022 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
0036617a5c
commit
9f62a149f1
@ -525,7 +525,9 @@ NTSTATUS set_ea_dos_attribute(connection_struct *conn,
|
||||
status = NT_STATUS_OK;
|
||||
}
|
||||
unbecome_root();
|
||||
return status;
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
}
|
||||
}
|
||||
DEBUG(10,("set_ea_dos_attribute: set EA 0x%x on file %s\n",
|
||||
(unsigned int)dosmode,
|
||||
|
Loading…
x
Reference in New Issue
Block a user