mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s3:smbstatus don't check if process exists twice
is_valid_share_mode_entry() already calls serverid_exists which calls process_exists()
This commit is contained in:
@ -124,10 +124,6 @@ static void print_share_mode(const struct share_mode_entry *e,
|
||||
return;
|
||||
}
|
||||
|
||||
if (!process_exists(e->pid)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (count==0) {
|
||||
d_printf("Locked files:\n");
|
||||
d_printf("Pid Uid DenyMode Access R/W Oplock SharePath Name Time\n");
|
||||
|
Reference in New Issue
Block a user