Skip to content

Commit

Permalink
SIGINFO doesn't compile on Linux. Use SIGHUP instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Aug 27, 2010
1 parent 96b9c6b commit 9c95959
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ext/common/LoggingAgent/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ main(int argc, char *argv[]) {
ev::io feedbackFdWatcher(eventLoop);
ev::sig sigintWatcher(eventLoop);
ev::sig sigtermWatcher(eventLoop);
ev::sig siginfoWatcher(eventLoop);
ev::sig sighupWatcher(eventLoop);

if (feedbackFdAvailable()) {
MessageChannel feedbackChannel(FEEDBACK_FD);
Expand All @@ -263,8 +263,8 @@ main(int argc, char *argv[]) {
sigintWatcher.start(SIGINT);
sigtermWatcher.set<&caughtExitSignal>();
sigtermWatcher.start(SIGTERM);
siginfoWatcher.set<&printInfo>();
siginfoWatcher.start(SIGINFO);
sighupWatcher.set<&printInfo>();
sighupWatcher.start(SIGHUP);


/********** Initialized! Enter main loop... **********/
Expand Down

0 comments on commit 9c95959

Please sign in to comment.