From f916352de90f5f5cd1e33d7264895e9d7e2992b5 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 21 Oct 2006 16:52:25 +0000 Subject: r19447: Do not throw away information (This used to be commit 141e0dd7174462d0df642f6055eb3f35df107bac) --- source3/utils/net_rpc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index e7bf53ad3f..67400ca3c6 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -3084,10 +3084,7 @@ static NTSTATUS rpc_share_del_internals(const DOM_SID *domain_sid, int argc, const char **argv) { - NTSTATUS result; - - result = rpccli_srvsvc_NetShareDel(pipe_hnd, mem_ctx, NULL, argv[0], 0); - return NT_STATUS_IS_OK(result) ? NT_STATUS_OK : NT_STATUS_UNSUCCESSFUL; + return rpccli_srvsvc_NetShareDel(pipe_hnd, mem_ctx, NULL, argv[0], 0); } /** -- cgit