diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-10-13 11:13:54 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-10-13 11:13:54 -0400 |
commit | 838fd6ff7659228d73baf27ad933bd40032aee62 (patch) | |
tree | 581c26ca86660fab8178442ca4fe59a307651cdb /tools | |
parent | 8d9b3cf6e92b6dabc3927d3b4a7bb31e19fe3376 (diff) | |
download | mongo-838fd6ff7659228d73baf27ad933bd40032aee62.tar.gz |
fix SIGHUP handling SERVER-1934
when forked SIGHUP ignored
when not forked, SIGHUP will terminate nicely
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tool.cpp b/tools/tool.cpp index c59674752f8..3437ca15b20 100644 --- a/tools/tool.cpp +++ b/tools/tool.cpp @@ -432,5 +432,5 @@ namespace mongo { - void setupSignals(){} + void setupSignals( bool inFork ){} } |