summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client')
-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 30f8b8baf4..beb3dca710 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -1948,7 +1948,7 @@ static int do_put(const char *rname, const char *lname, bool reput)
if (f == x_stdin) {
cli_shutdown(cli);
- exit(0);
+ exit(rc);
}
return rc;