1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r15552: Fix segfault...

Guenther
This commit is contained in:
Günther Deschner 2006-05-12 23:05:01 +00:00 committed by Gerald (Jerry) Carter
parent 4f3a1c2c58
commit ff93fc7c1e

View File

@ -213,6 +213,8 @@ static int smb_print(struct cli_state *, char *, FILE *);
in_client = True; /* Make sure that we tell lp_load we are */
load_case_tables();
if (!lp_load(dyn_CONFIGFILE, True, False, False, True))
{
fprintf(stderr, "ERROR: Can't load %s - run testparm to debug it\n", dyn_CONFIGFILE);