swanctl: Fix Windows build of --monitor-sas command

Fixes: 4784c92c557f ("swanctl: Terminate --monitor-sa command if daemon closes connection")
This commit is contained in:
Tobias Brunner 2023-02-22 14:01:59 +01:00
parent 18d73a9a5c
commit a5ba701783

View File

@ -457,7 +457,7 @@ CALLBACK(close_cb, void,
{
fprintf(stderr, "connection closed\n");
*ret = ECONNRESET;
kill(0, SIGTERM);
send_sigint();
}
static int monitor_sas(vici_conn_t *conn)