1
0
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:
Christian Ambach
2012-07-13 17:10:05 +02:00
parent 3643262126
commit 07412b56bd

View File

@ -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");