diff options
author | Andreas Schneider <asn@samba.org> | 2014-11-24 16:26:13 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-12-04 19:46:07 +0100 |
commit | 9c7b2538e4b489edb532b77804cca697605a548a (patch) | |
tree | 235dea67cdae58e3e80edba1e035a03760c71372 /source3 | |
parent | 6931f8dac78c0ebd89ba1ef8031b0084e46aaa6e (diff) | |
download | samba-9c7b2538e4b489edb532b77804cca697605a548a.tar.gz |
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>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/client/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index ab46cb80a9..20932cc4e0 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -5307,7 +5307,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); |