summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-04 17:52:35 +0200
committerMichael Adam <obnox@samba.org>2008-04-04 17:52:35 +0200
commit0000eeb9b859ef3f9dcc6b659d27c897048c63f6 (patch)
tree0b41fb0277f6a02a596334d604b91c9e6ddea057 /source3/utils
parentc7aa3dd3c052dd62e8dc9abdd033a8653ae27fbc (diff)
downloadsamba-0000eeb9b859ef3f9dcc6b659d27c897048c63f6.tar.gz
samba-0000eeb9b859ef3f9dcc6b659d27c897048c63f6.tar.bz2
samba-0000eeb9b859ef3f9dcc6b659d27c897048c63f6.zip
net_rpc_registry: return available error code on failure in deletevalue.
Michael (This used to be commit 0dc9840cefb08b2732d294eb45508ce687ded324)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc_registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_registry.c b/source3/utils/net_rpc_registry.c
index 55585ec62b..da078f4d36 100644
--- a/source3/utils/net_rpc_registry.c
+++ b/source3/utils/net_rpc_registry.c
@@ -473,7 +473,7 @@ static NTSTATUS rpc_registry_deletevalue_internal(const DOM_SID *domain_sid,
rpccli_winreg_CloseKey(pipe_hnd, mem_ctx, &key_hnd, NULL);
rpccli_winreg_CloseKey(pipe_hnd, mem_ctx, &hive_hnd, NULL);
- return NT_STATUS_OK;
+ return status;
}
static int rpc_registry_deletevalue( int argc, const char **argv )