projects
/
shibboleth
/
cpp-sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2369388
)
Forgot to install signal for listener.
author
Scott Cantor
<cantor.2@osu.edu>
Thu, 21 May 2009 21:06:11 +0000
(21:06 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Thu, 21 May 2009 21:06:11 +0000
(21:06 +0000)
shibd/shibd.cpp
patch
|
blob
|
history
diff --git
a/shibd/shibd.cpp
b/shibd/shibd.cpp
index
c5f5ba6
..
49cbd79
100644
(file)
--- a/
shibd/shibd.cpp
+++ b/
shibd/shibd.cpp
@@
-341,6
+341,10
@@
int main(int argc, char *argv[])
freopen("/dev/null", "w", stderr);
\r
\r
// Run the listener
\r
+ if (!conf.getServiceProvider()->getListenerService()->setSignal(SIGUSR1)) {
\r
+ fprintf(stderr, "listener failed to accept signaling hook\n");
\r
+ return -3;
\r
+ }
\r
if (!conf.getServiceProvider()->getListenerService()->run(unlink_socket, &shibd_shutdown)) {
\r
fprintf(stderr, "listener failed to enter listen loop\n");
\r
return -3;
\r