]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
net_rpc_registry: return available error code on failure in deletevalue.
authorMichael Adam <obnox@samba.org>
Fri, 4 Apr 2008 15:52:35 +0000 (17:52 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 4 Apr 2008 15:52:35 +0000 (17:52 +0200)
Michael

source/utils/net_rpc_registry.c

index 55585ec62b731ec067d241ab6ea078fda574d036..da078f4d3619817c295d9b993ba220b4447f64e2 100644 (file)
@@ -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 )