1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

r22071: Make the error message for incorrect use of '-c' show the parameter as used.

This means that smbpasswd -c user (which in htpasswd creates a new file)
and smbpasswd -c /not/my/smb.conf should give errors an admin will
think to chase down.

Andrew Bartlett
(This used to be commit 721375e14c)
This commit is contained in:
Andrew Bartlett
2007-04-04 06:03:54 +00:00
committed by Gerald (Jerry) Carter
parent 06ec19e2fb
commit 23d3a1956b

View File

@ -190,7 +190,7 @@ static int process_options(int argc, char **argv, int local_flags)
if (!lp_load(configfile,True,False,False,True)) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n",
dyn_CONFIGFILE);
configfile);
exit(1);
}