1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00

I was somewhat annoyed by 'pdbedit -a vl' spitting an error message

at me :-)

Volker
(This used to be commit c4452ef22cf63c73bfb3574a55a4810af511ff20)
This commit is contained in:
Volker Lendecke 2002-10-21 19:25:04 +00:00
parent c6e4a84cfa
commit 0f8e108686

View File

@ -492,7 +492,13 @@ int main (int argc, char **argv)
break;
}
}
poptGetArg(pc); /* Drop argv[0], the program name */
if (user_name == NULL) {
user_name = poptGetArg(pc);
}
if (!lp_load(dyn_CONFIGFILE,True,False,False)) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n", dyn_CONFIGFILE);
exit(1);