diff options
author | Andreas Schneider <asn@samba.org> | 2014-11-24 16:26:13 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-11-27 09:45:08 +0100 |
commit | a0b93c9c49ce7bd68b1beda7cd827c851e770fbd (patch) | |
tree | c63246545d1f060703bb4a990351d67d1378e42b | |
parent | e1b2b085954eb37c5c3770143e4df77db1c41928 (diff) | |
download | samba-a0b93c9c49ce7bd68b1beda7cd827c851e770fbd.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>
-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 c90c4504473..5d708970ad5 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -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); |