Skip to content

Commit

Permalink
make sure SIGUSR1 and SIGINFO are available first
Browse files Browse the repository at this point in the history
svn:revision:30791
svn:branch:trunk
svn:account:brlcad
  • Loading branch information
brlcad committed Apr 23, 2008
1 parent c6a83e7 commit 0124b1e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/adrt/slave/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,12 @@ int main(int argc, char **argv) {

/* Default Port */
signal(SIGINT, finish);
signal(SIGINFO, info);
#ifdef SIGUSR1
signal(SIGUSR1, info);
#endif
#ifdef SIGINFO
signal(SIGINFO, info);
#endif

/* Initialize strings */
host[0] = 0;
Expand Down

0 comments on commit 0124b1e

Please sign in to comment.