mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:libsmbconf: use lp_load_global() in the testsuite
This commit is contained in:
parent
2c3a1f44fa
commit
88ee6973f0
@ -304,12 +304,7 @@ int main(int argc, const char **argv)
|
||||
|
||||
poptFreeContext(pc);
|
||||
|
||||
ret = lp_load(get_dyn_CONFIGFILE(),
|
||||
true, /* globals_only */
|
||||
false, /* save_defaults */
|
||||
false, /* add_ipc */
|
||||
true /* initialize globals */);
|
||||
|
||||
ret = lp_load_global(get_dyn_CONFIGFILE());
|
||||
if (!ret) {
|
||||
printf("failure: error loading the configuration\n");
|
||||
goto done;
|
||||
|
Loading…
Reference in New Issue
Block a user