1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

s3-smbclient: Return success if we listed the shares.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10960

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Andreas Schneider 2014-11-24 16:26:13 +01:00 committed by Jeremy Allison
parent 4083ba6fe5
commit 6557a0218a

View File

@ -5303,7 +5303,7 @@ static int do_host_query(const char *query_host)
if (cli == NULL) {
d_printf("NetBIOS over TCP disabled -- no workgroup available\n");
return 1;
return 0;
}
cli_set_timeout(cli, io_timeout*1000);