Fixes usage with the common "-s|--configfile" parameter.
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Jul 7 23:30:50 CEST 2014 on sn-devel-104
setlinebuf(stdout);
- lp_load_global(get_dyn_CONFIGFILE());
- load_interfaces();
auth_info = user_auth_info_init(frame);
if (auth_info == NULL) {
return -1;
}
+ lp_load_global(get_dyn_CONFIGFILE());
+ load_interfaces();
+
filename = talloc_strdup(frame, poptGetArg(pc));
if (!filename) {
return -1;