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:
parent
fbe40d21c8
commit
5cb4a28569
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user