diff options
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 99d65d551a..dc3f642cd6 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -571,6 +571,8 @@ static void usage(char *pname) DEBUG(3,("Dumped names\n")); + /* We can only take sigterm signals in the select. */ + BlockSignals(True,SIGTERM); process(); close_sockets(); |