Removed sigaction call. PM tries to talk to DS. DS should not talk to PM.

This commit is contained in:
Philip Homburg 2007-08-07 12:25:21 +00:00
parent 1f04287b3f
commit fd151245e9

View File

@ -88,13 +88,6 @@ PRIVATE void init_server(int argc, char **argv)
int i, s;
struct sigaction sigact;
/* Install signal handler. Ask PM to transform signal into message. */
sigact.sa_handler = SIG_MESS;
sigact.sa_mask = ~0; /* block all other signals */
sigact.sa_flags = 0; /* default behaviour */
if (sigaction(SIGTERM, &sigact, NULL) < 0)
report("DS","warning, sigaction() failed", errno);
/* Initialize DS. */
ds_init();
}