diff options
Diffstat (limited to 'source3/utils/net_rpc.c')
-rw-r--r-- | source3/utils/net_rpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 5c21b63741..5952f4fe32 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -3833,8 +3833,8 @@ static NTSTATUS sync_files(struct copy_clistate *cp_clistate, const char *mask) if (!NT_STATUS_IS_OK(status)) { d_fprintf(stderr, _("cli_resolve_path %s failed with error: " "%s\n"), - mask, cli_errstr(cp_clistate->cli_share_src)); - return cli_nt_error(cp_clistate->cli_share_src); + mask, nt_errstr(status)); + return status; } status = cli_list(targetcli, targetpath, cp_clistate->attribute, |