|
|
@ -532,7 +532,7 @@ bool _send_proc(proc_instance_t *pi, const char *msg, const char *file, const ch |
|
|
|
LOGWARNING("Failed to send %s to socket %s", msg, path); |
|
|
|
LOGWARNING("Failed to send %s to socket %s", msg, path); |
|
|
|
else |
|
|
|
else |
|
|
|
ret = true; |
|
|
|
ret = true; |
|
|
|
Close(sockd); |
|
|
|
shutdown(sockd, SHUT_WR); |
|
|
|
out: |
|
|
|
out: |
|
|
|
if (unlikely(!ret)) { |
|
|
|
if (unlikely(!ret)) { |
|
|
|
LOGERR("Failure in send_proc from %s %s:%d", file, func, line); |
|
|
|
LOGERR("Failure in send_proc from %s %s:%d", file, func, line); |
|
|
|