summaryrefslogtreecommitdiffstats
path: root/source/utils/net_conf.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-04 19:52:22 +0100
committerMichael Adam <obnox@samba.org>2008-01-04 19:52:22 +0100
commit790ef789444945fbae5637f0b469665859171dcd (patch)
tree42074d2028b54632ef7912abce1f748daa7cdd20 /source/utils/net_conf.c
parentfc0fca980f08a0af65d82784ef5a50a7b1ac0927 (diff)
downloadsamba-790ef789444945fbae5637f0b469665859171dcd.tar.gz
samba-790ef789444945fbae5637f0b469665859171dcd.tar.xz
samba-790ef789444945fbae5637f0b469665859171dcd.zip
Remove the final regdb_close() from net_conf.c
This is to hide the registry from net_conf. Right now, it does not harm if "net conf" does not close the registry file explicitly just before exiting. I am working out a proper way of handling open/close operations transparently in the libnet_conf library. Michael
Diffstat (limited to 'source/utils/net_conf.c')
-rw-r--r--source/utils/net_conf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/utils/net_conf.c b/source/utils/net_conf.c
index 2df24101606..d212b451bcd 100644
--- a/source/utils/net_conf.c
+++ b/source/utils/net_conf.c
@@ -863,8 +863,6 @@ int net_conf(int argc, const char **argv)
ret = net_run_function2(argc, argv, "net conf", func);
- regdb_close();
-
return ret;
}