fix callPreviousSignalHandler()
authorAdam Simpkins <simpkins@fb.com>
Thu, 12 Dec 2013 21:46:01 +0000 (13:46 -0800)
committerJordan DeLong <jdelong@fb.com>
Fri, 20 Dec 2013 21:06:03 +0000 (13:06 -0800)
commita4c67f338d61bf5aaec3ac5cab4371697deaa2b4
tree3f77b909b7a51b08be5539df3c742c70e26f70ab
parent613bec4884b25b4829b58b54de57806d882186d5
fix callPreviousSignalHandler()

Summary:
If a previous handler was found, the code was missing the step of
actually re-raising the handler after restoring the old handler.

Test Plan: Verified that our service actually exits after receiving SIGTERM.

Reviewed By: tudorb@fb.com

FB internal diff: D1096360
folly/experimental/symbolizer/SignalHandler.cpp