diff options
author | Tim Potter <tpot@hp.com> | 2008-02-18 10:21:50 +1100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-18 10:15:44 +0100 |
commit | a8fbb92146ddfe0b774f8385dfdea672447a1c46 (patch) | |
tree | 9245aa4d5dc5d28ddfe73347bcb601aaacbc959e /source3 | |
parent | 2cd374db8d53cf9727da6c99a7fc48f4dd09fd4b (diff) | |
download | samba-a8fbb92146ddfe0b774f8385dfdea672447a1c46.tar.gz samba-a8fbb92146ddfe0b774f8385dfdea672447a1c46.tar.bz2 samba-a8fbb92146ddfe0b774f8385dfdea672447a1c46.zip |
Check return code of secrets_init() function.
(This used to be commit 2b1eead269e95142576d0c8c259874324ba83502)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 7116027adf..7bf11abfbd 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -988,7 +988,8 @@ static bool init_structs(void ) init_dptrs(); - secrets_init(); + if (!secrets_init()) + return False; return True; } |