projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe77ef8
)
Stupid warnings when building under ubuntu
author
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Tue, 7 Jan 2014 23:08:29 +0000
(23:08 +0000)
committer
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Tue, 7 Jan 2014 23:11:22 +0000
(23:11 +0000)
src/main/radiusd.c
patch
|
blob
|
history
diff --git
a/src/main/radiusd.c
b/src/main/radiusd.c
index
007b2b4
..
9eb1d6f
100644
(file)
--- a/
src/main/radiusd.c
+++ b/
src/main/radiusd.c
@@
-520,7
+520,10
@@
int main(int argc, char *argv[])
* read failure.
*/
if (!dont_fork) {
- write(from_child[1], "\001", 1);
+ if (write(from_child[1], "\001", 1) < 0) {
+ WARN("Failed informing parent of successful start: %s",
+ strerror(errno));
+ }
close(from_child[1]);
}