diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c index 8a906a6c27..b9b693d8d5 100644 --- a/source3/utils/net_conf.c +++ b/source3/utils/net_conf.c @@ -256,7 +256,7 @@ static WERROR reg_delkey_internal(TALLOC_CTX *ctx, const char *keyname) goto done; } - werr = reg_deletekey(key, keyname); + werr = reg_deletekey_recursive(key, key, keyname); if (!W_ERROR_IS_OK(werr)) { d_fprintf(stderr, "Error deleting registry key %s\\%s: %s\n", KEY_SMBCONF, keyname, dos_errstr(werr)); |