summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_winsserver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c
index c81e0a913e..64f3142972 100644
--- a/source3/nmbd/nmbd_winsserver.c
+++ b/source3/nmbd/nmbd_winsserver.c
@@ -1614,4 +1614,7 @@ void wins_write_database(BOOL background)
chmod(fnamenew,0644);
unlink(fname);
rename(fnamenew,fname);
+ if (background) {
+ _exit(0);
+ }
}