Add error exit 9 if fspd can't send reply back
This commit is contained in:
parent
bec9c41478
commit
4f28a697b3
|
|
@ -11,6 +11,7 @@ Version NEXT
|
|||
because we closing these later. This should help systemd internal
|
||||
inetd to work correctly using fspd socket activation.
|
||||
fspd exits with err 8 if can't write pidfile after forking
|
||||
add error exit 9 if fspd can't send back reply to client
|
||||
|
||||
Version 2.8.1b29 - 24 Aug 2019
|
||||
added scons command line argument without-fspscan=yes for building
|
||||
|
|
|
|||
|
|
@ -208,6 +208,9 @@ select() error
|
|||
.B 8
|
||||
can not write pidfile
|
||||
|
||||
.B 9
|
||||
can not send reply back to client
|
||||
|
||||
.B 99
|
||||
Internal terror
|
||||
|
||||
|
|
|
|||
|
|
@ -365,7 +365,7 @@ fprintf(stderr,"\n") ;
|
|||
if(sendto(myfd,(char *)ub,(len1 + len2 + UBUF_HSIZE),0,
|
||||
(struct sockaddr *)from,sizeof(struct sockaddr_in)) == -1) {
|
||||
perror("sendto");
|
||||
exit(7);
|
||||
exit(9);
|
||||
}
|
||||
|
||||
return(0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user