r7074: we should load all shares in smbscript
authorAndrew Tridgell <tridge@samba.org>
Sun, 29 May 2005 11:43:52 +0000 (11:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:17:12 +0000 (13:17 -0500)
source/scripting/ejs/smbscript.c

index 593d3b0cf51ed0595837937e31c1623ac06da88b..c6b1b7a1927d221d851366a3a7dd4ce1f0a12571 100644 (file)
@@ -45,7 +45,7 @@ void ejs_exception(const char *reason)
 
        setup_logging(argv[0],DEBUG_STDOUT);
 
-       if (!lp_load(dyn_CONFIGFILE,True,False,False)) {
+       if (!lp_load(dyn_CONFIGFILE, False, False, False)) {
                fprintf(stderr, "%s: Can't load %s - run testparm to debug it\n",
                        argv[0], dyn_CONFIGFILE);
                exit(1);