summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-06-20 23:24:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:28 -0500
commit1deb049a020cb2e804fc74e9b06f5c04f73005e8 (patch)
tree5d412b99abb6bccb89f1a09a3f332f367a6d36f3 /source3
parentd0daf1a0c1fb668e24c23ca1209c31e0de46fcf8 (diff)
downloadsamba-1deb049a020cb2e804fc74e9b06f5c04f73005e8.tar.gz
samba-1deb049a020cb2e804fc74e9b06f5c04f73005e8.tar.bz2
samba-1deb049a020cb2e804fc74e9b06f5c04f73005e8.zip
r23556: Fix for error path from Atsushi Nakabayashi <nakabayashi@miraclelinux.com>.
Jeremy. (This used to be commit 3f70c1b10589965ee95ef7497ff6fb7c39475569)
Diffstat (limited to 'source3')
-rw-r--r--source3/nmbd/nmbd_winsserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c
index 4338aeac93..bbaca83e21 100644
--- a/source3/nmbd/nmbd_winsserver.c
+++ b/source3/nmbd/nmbd_winsserver.c
@@ -2333,6 +2333,7 @@ void wins_write_database(time_t t, BOOL background)
if (tdb_reopen(wins_tdb)) {
DEBUG(0,("wins_write_database: tdb_reopen failed. Error was %s\n",
strerror(errno)));
+ _exit(0);
return;
}
}