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, 3 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index e34131d6d0..0d27039cb9 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -29,6 +29,7 @@
pstring cur_dir = "\\";
pstring cd_path = "";
+extern BOOL in_client;
extern pstring service;
extern pstring desthost;
extern pstring global_myname;
@@ -3789,6 +3790,8 @@ static void usage(char *pname)
DEBUG(0,("Failed to get my hostname.\n"));
}
+ in_client = True;
+
if (!lp_load(servicesf,True,False,False)) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n", servicesf);
}