Remove the final regdb_close() from net_conf.c
authorMichael Adam <obnox@samba.org>
Fri, 4 Jan 2008 18:52:22 +0000 (19:52 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 4 Jan 2008 18:52:22 +0000 (19:52 +0100)
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

source/utils/net_conf.c

index 2df2410160643bbd33d6b97c387819be20d32bd8..d212b451bcd5e74d4f86c21b145f95a660d5d90e 100644 (file)
@@ -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;
 }