diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/status.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c index 97f005f87e..ca09dfa28d 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -111,6 +111,10 @@ 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"); |