X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsocket.c;h=3bb8862ca9bb39e1a939929f912803585ec2f8ba;hb=867b3b7d6b88ba4d07ec7c830576d4ac2f7dd226;hp=6ec49de4664375fa26697ff655e05a8bcc3cba57;hpb=ba035df230e41bf9d70ebb47915c9472b7884412;p=elogind.git diff --git a/src/socket.c b/src/socket.c index 6ec49de46..3bb8862ca 100644 --- a/src/socket.c +++ b/src/socket.c @@ -41,6 +41,7 @@ #include "special.h" #include "bus-errors.h" #include "label.h" +#include "exit-status.h" static const UnitActiveState state_translation_table[_SOCKET_STATE_MAX] = { [SOCKET_DEAD] = UNIT_INACTIVE, @@ -880,7 +881,7 @@ static void socket_set_state(Socket *s, SocketState state) { socket_state_to_string(old_state), socket_state_to_string(state)); - unit_notify(UNIT(s), state_translation_table[old_state], state_translation_table[state]); + unit_notify(UNIT(s), state_translation_table[old_state], state_translation_table[state], true); } static int socket_coldplug(Unit *u) {