diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/uid.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c index 1a3b7383c9..ffa643a8f5 100644 --- a/source3/smbd/uid.c +++ b/source3/smbd/uid.c @@ -391,8 +391,9 @@ void become_root(void) * no good way to handle push_sec_ctx() failing without changing * the prototype of become_root() */ - if (!push_sec_ctx()) - return; + if (!push_sec_ctx()) { + smb_panic("become_root: push_sec_ctx failed"); + } push_conn_ctx(); set_root_sec_ctx(); } |