summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 8834f7d3f4..affc4e140e 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -2085,7 +2085,7 @@ static int process_command_string(char *cmd)
if (!cli) {
cli = do_connect(desthost, service);
if (!cli)
- return;
+ return 0;
}
while (cmd[0] != '\0') {