diff options
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index d657bb98d28..4735e8cc7ad 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -3300,7 +3300,7 @@ static int cmd_rename(void) return 1; } - if (!cli_rename(targetcli, targetsrc, targetdest)) { + if (!NT_STATUS_IS_OK(cli_rename(targetcli, targetsrc, targetdest))) { d_printf("%s renaming files %s -> %s \n", cli_errstr(targetcli), targetsrc, |