summaryrefslogtreecommitdiff
path: root/pop3d
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-01-06 14:48:39 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-01-06 14:48:39 +0000
commitb1b81f92104d9545a087748af91ffe8879fc833e (patch)
treedd739b2ed0b9173c39a241c86663a988d4b73745 /pop3d
parent353d7ec386cc4443a2d86ba67b84e53d7dd6db1a (diff)
downloadmailutils-b1b81f92104d9545a087748af91ffe8879fc833e.tar.gz
mailutils-b1b81f92104d9545a087748af91ffe8879fc833e.tar.bz2
(pop3d_signal): Use pop3d_is_master().
Diffstat (limited to 'pop3d')
-rw-r--r--pop3d/signal.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pop3d/signal.c b/pop3d/signal.c
index 0096f83fc..26d386c3c 100644
--- a/pop3d/signal.c
+++ b/pop3d/signal.c
@@ -39,12 +39,13 @@ pop3d_sigchld (int signo)
RETSIGTYPE
pop3d_signal (int signo)
{
- syslog (LOG_CRIT, _("got signal %s"), strsignal(signo));
+ syslog (LOG_CRIT, _("got signal %s"), strsignal (signo));
+
/* Master process. */
- if (!ofile)
+ if (pop3d_is_master ())
{
syslog (LOG_CRIT, _("MASTER: exiting on signal"));
- exit (EXIT_FAILURE); /* abort(); */
+ exit (EXIT_FAILURE);
}
if (signo == SIGALRM)

Return to:

Send suggestions and report system problems to the System administrator.