summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/namedbname.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/namedbname.c b/source3/namedbname.c
index 196da10306..2e8c8d589a 100644
--- a/source3/namedbname.c
+++ b/source3/namedbname.c
@@ -220,6 +220,7 @@ void dump_names(void)
if (!f)
{
DEBUG(3,("Can't open %s - %s\n",fnamenew,strerror(errno)));
+ return;
}
DEBUG(4,("Dump of local name table:\n"));