summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-01-18 23:42:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:10 -0500
commit9ed512777647b1706d961e4e141e8794bad4d284 (patch)
tree84bff62c8d76da56735acabdc2a7b4d932a81140 /source3
parent8a30b3226d97bd43549971a4708afa79432b6d25 (diff)
downloadsamba-9ed512777647b1706d961e4e141e8794bad4d284.tar.gz
samba-9ed512777647b1706d961e4e141e8794bad4d284.tar.bz2
samba-9ed512777647b1706d961e4e141e8794bad4d284.zip
r13023: Ensure we notice if we exit due to guest user setup fail.
Jeremy. (This used to be commit f8d09d111ccd8c2805245662e01cd99dba1d9292)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/server.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index ff894e2460..620bf3ebbd 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -826,8 +826,10 @@ void build_options(BOOL screen);
init_structs();
- if (!init_guest_info())
+ if (!init_guest_info()) {
+ DEBUG(0,("ERROR: failed to setup guest info.\n"));
return -1;
+ }
#ifdef WITH_PROFILE
if (!profile_setup(False)) {