summaryrefslogtreecommitdiffabout
path: root/jabberd/main.c
authorSergey Poznyakoff <gray@gnu.org.ua>2007-06-04 15:48:29 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2007-06-04 15:48:29 (GMT)
commit2c586254cf3fd476367b66eb9fab086bbc405674 (patch) (side-by-side diff)
tree3003c3c078b26d99909c9eadd477adb4b25f7717 /jabberd/main.c
parentb10527e4fbcdd3273c7296a151a78d7ee1d4163c (diff)
downloadgsc-2c586254cf3fd476367b66eb9fab086bbc405674.tar.gz
gsc-2c586254cf3fd476367b66eb9fab086bbc405674.tar.bz2
Minor fix
git-svn-id: file:///svnroot/gsc/trunk@257 d2de0444-eb31-0410-8365-af798a554d48
Diffstat (limited to 'jabberd/main.c') (more/less context) (ignore whitespace changes)
-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.