projects
/
shibboleth
/
sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b8daf0
)
Fix pidfile removal
author
Ferenc Wagner
<wferi@niif.hu>
Wed, 9 Dec 2009 11:36:45 +0000
(12:36 +0100)
committer
Ferenc Wagner
<wferi@niif.hu>
Wed, 9 Dec 2009 11:36:45 +0000
(12:36 +0100)
The http://svn.middleware.georgetown.edu/view/cpp-sp?view=rev&revision=3209
upstream fix for https://bugs.internet2.edu/jira/browse/SSPCPP-272.
shibd/shibd.cpp
patch
|
blob
|
history
diff --git
a/shibd/shibd.cpp
b/shibd/shibd.cpp
index
2ac256d
..
eee5c8b
100644
(file)
--- a/
shibd/shibd.cpp
+++ b/
shibd/shibd.cpp
@@
-387,7
+387,7
@@
int main(int argc, char *argv[])
fprintf(stderr, "listener failure during service\n");
listener->term();
conf.term();
- if (pidfile)
+ if (
daemonize &&
pidfile)
unlink(pidfile);
return -3;
}
@@
-395,7
+395,7
@@
int main(int argc, char *argv[])
}
conf.term();
- if (pidfile)
+ if (
daemonize &&
pidfile)
unlink(pidfile);
return 0;
}