diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpcclient/cmd_echo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpcclient/cmd_echo.c b/source3/rpcclient/cmd_echo.c index 79ba744a55..fa4e691663 100644 --- a/source3/rpcclient/cmd_echo.c +++ b/source3/rpcclient/cmd_echo.c @@ -74,6 +74,7 @@ static NTSTATUS cmd_echo_data(struct cli_state *cli, TALLOC_CTX *mem_ctx, if (in_data[i] != out_data[i]) { printf("mismatch at offset %d, %d != %d\n", i, in_data[i], out_data[i]); + result = NT_STATUS_UNSUCCESSFUL; } } @@ -107,6 +108,7 @@ static NTSTATUS cmd_echo_source_data(struct cli_state *cli, if (out_data && out_data[i] != (i & 0xff)) { printf("mismatch at offset %d, %d != %d\n", i, out_data[i], i & 0xff); + result = NT_STATUS_UNSUCCESSFUL; } } |