mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
don't core dump in smbstatus if we can't open the shmem system
This commit is contained in:
parent
a2bacc0895
commit
ef9749798a
@ -285,6 +285,7 @@ BOOL modify_share_mode(int token, files_struct *fsp, int new_mode)
|
||||
|
||||
int share_mode_forall(void (*fn)(share_mode_entry *, char *))
|
||||
{
|
||||
if (!share_ops) return 0;
|
||||
return share_ops->forall(fn);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user