1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:smbstatus: fix return value in print_share_mode()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Stefan Metzmacher 2014-11-05 20:27:06 +01:00 committed by Jeremy Allison
parent fbe40d21c8
commit 5cb4a28569

View File

@ -123,7 +123,7 @@ static int print_share_mode(const struct share_mode_entry *e,
static int count;
if (do_checks && !is_valid_share_mode_entry(e)) {
return;
return 0;
}
if (count==0) {