1
0
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:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent a2bacc0895
commit ef9749798a

View File

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