summaryrefslogtreecommitdiff
path: root/source3/client/smbmount.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client/smbmount.c')
-rw-r--r--source3/client/smbmount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c
index 6e8d9f5bca..04bb103dae 100644
--- a/source3/client/smbmount.c
+++ b/source3/client/smbmount.c
@@ -383,6 +383,7 @@ static void send_fs_socket(char *the_service, char *mount_point, struct cli_stat
If we don't do this we will "leak" sockets and memory on
each reconnection we have to make. */
+ c->smb_rw_error = DO_NOT_DO_TDIS;
cli_shutdown(c);
c = NULL;