mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
smbclient: Don't cli_posix_stat() twice
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
e033dafd14
commit
e9c1c822f8
@ -3814,7 +3814,7 @@ static int cmd_getfacl(void)
|
||||
}
|
||||
|
||||
status = cli_posix_stat(targetcli, targetname, &sbuf);
|
||||
if (!NT_STATUS_IS_OK(cli_posix_stat(targetcli, targetname, &sbuf))) {
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
d_printf("%s getfacl doing a stat on file %s\n",
|
||||
nt_errstr(status), src);
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user