summaryrefslogtreecommitdiff
path: root/source3/client/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client/client.c')
-rw-r--r--source3/client/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 436b0c3c7c..a6a3be7338 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -27,6 +27,7 @@
#define REGISTER 0
#endif
+extern BOOL in_client;
pstring cur_dir = "\\";
pstring cd_path = "";
extern BOOL in_client;
@@ -3790,7 +3791,7 @@ static void usage(char *pname)
DEBUG(0,("Failed to get my hostname.\n"));
}
- in_client = True;
+ in_client = True; /* Make sure that we tell lp_load we are */
if (!lp_load(servicesf,True,False,False)) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n", servicesf);