aboutsummaryrefslogtreecommitdiff
path: root/jabberd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'jabberd/main.c')
-rw-r--r--jabberd/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/jabberd/main.c b/jabberd/main.c
index 476abd8..e726d3a 100644
--- a/jabberd/main.c
+++ b/jabberd/main.c
@@ -604,6 +604,8 @@ pidfile_read (int must_exist)
{
logmsg (LOG_ERR, "Cannot signal master process %lu: %s",
(unsigned long) n, strerror (errno));
+ if (errno == EPERM)
+ return n; /* be on the safe side */
return -1;
}
return n;

Return to:

Send suggestions and report system problems to the System administrator.