summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-06-29 10:22:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:41 -0500
commit3163aff376be5dbda5ce38dbc07765a25854434b (patch)
treef0c389015135426a7c01868af063b9791b26b1c9 /source3/utils
parent110e420196bcaf87d8d434b3680100d9b265a879 (diff)
downloadsamba-3163aff376be5dbda5ce38dbc07765a25854434b.tar.gz
samba-3163aff376be5dbda5ce38dbc07765a25854434b.tar.bz2
samba-3163aff376be5dbda5ce38dbc07765a25854434b.zip
r23652: Use the recursive delete function instead of the original one
when deleting a share. Just to be sure... Michael (This used to be commit 91770e153d7dd87d5e4f0516c297812091ba5b5a)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_conf.c2
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));