r23556: Fix for error path from Atsushi Nakabayashi <nakabayashi@miraclelinux.com>.
authorJeremy Allison <jra@samba.org>
Wed, 20 Jun 2007 23:24:18 +0000 (23:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:28 +0000 (12:23 -0500)
Jeremy.

source/nmbd/nmbd_winsserver.c

index 4338aeac93a7112d121e35c6c64a6fac4cbbd234..bbaca83e2174ecbab12d02dace8fc64f6ffeb9a7 100644 (file)
@@ -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)));
                if (tdb_reopen(wins_tdb)) {
                        DEBUG(0,("wins_write_database: tdb_reopen failed. Error was %s\n",
                                strerror(errno)));
+                       _exit(0);
                        return;
                }
        }
                        return;
                }
        }