summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-10-13 11:13:54 -0400
committerEliot Horowitz <eliot@10gen.com>2010-10-13 11:13:54 -0400
commit838fd6ff7659228d73baf27ad933bd40032aee62 (patch)
tree581c26ca86660fab8178442ca4fe59a307651cdb /tools
parent8d9b3cf6e92b6dabc3927d3b4a7bb31e19fe3376 (diff)
downloadmongo-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.cpp2
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 ){}
}