r23744: Remove TODO-comment. lp_load returns False if opening
authorMichael Adam <obnox@samba.org>
Sat, 7 Jul 2007 20:40:59 +0000 (20:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:51 +0000 (12:23 -0500)
of the config file fails. That's enough of checking for
existence and readbility to my taste.

Michael
(This used to be commit 204f4f1a94a6693ab5d92df0de48e6cb446c7a7f)

source3/utils/net_conf.c

index 9888d1f5486d66e5994fd0a33bbdf249a61a60bf..c65b57817bbca2a2e1639cc87a100849a1f0ece1 100644 (file)
@@ -690,8 +690,6 @@ int net_conf_import(int argc, const char **argv)
        DEBUG(3,("net_conf_import: reading configuration from file %s.\n",
                filename));
 
-       /* TODO: check for existence and readability */
-
        if (!lp_load(filename, 
                     False,     /* global_only */
                     True,      /* save_defaults */