chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
plymouth: move plymouth out of TARGET_FEDORA
[elogind.git]
/
src
/
socket.c
diff --git
a/src/socket.c
b/src/socket.c
index 4443dba0c991b46a51cbd9140d26119127d0ac5c..e386c7f2971c7cbe9cd0c4749bc9ee80a05c506b 100644
(file)
--- a/
src/socket.c
+++ b/
src/socket.c
@@
-1189,6
+1189,8
@@
static void socket_enter_running(Socket *s, int cfd) {
/* We don't take connections anymore if we are supposed to
* shut down anyway */
if (unit_pending_inactive(UNIT(s))) {
/* We don't take connections anymore if we are supposed to
* shut down anyway */
if (unit_pending_inactive(UNIT(s))) {
+ log_debug("Suppressing connection request on %s since unit stop is scheduled.", s->meta.id);
+
if (cfd >= 0)
close_nointr_nofail(cfd);
else {
if (cfd >= 0)
close_nointr_nofail(cfd);
else {