aboutsummaryrefslogtreecommitdiff
path: root/src/pies.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2015-11-22 19:39:29 +0100
committerSergey Poznyakoff <gray@gnu.org.ua>2015-11-22 19:39:29 +0100
commit944f922aebac63e0a668b4d9abae418a57a6720d (patch)
treef27bf9fd339a840201e286369818ceb3cbe877c4 /src/pies.c
parente7e3df9a6c4599f982a62bb8d7cd973ccd8cee72 (diff)
downloadpies-944f922aebac63e0a668b4d9abae418a57a6720d.tar.gz
pies-944f922aebac63e0a668b4d9abae418a57a6720d.tar.bz2
Bugfixes
* src/ctl.c (cmd_reboot, ctl_shutdown): Use code 221 to indicate that we are going to close clonnection (ctlwr): Check return from write. * src/pies.c: Handle SIGPIPE
Diffstat (limited to 'src/pies.c')
-rw-r--r--src/pies.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pies.c b/src/pies.c
index 9aa1a37..696e9f0 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -1868,7 +1868,8 @@ static int default_sigv[] = {
SIGHUP,
SIGALRM,
SIGUSR1,
- SIGUSR2
+ SIGUSR2,
+ SIGPIPE
};
static int extra_sigv[PIES_MAXSIG];

Return to:

Send suggestions and report system problems to the System administrator.