swanctl: Fix Windows build of --monitor-sas command
Fixes: 4784c92c55 ("swanctl: Terminate --monitor-sa command if daemon closes connection")
This commit is contained in:
@@ -457,7 +457,7 @@ CALLBACK(close_cb, void,
|
|||||||
{
|
{
|
||||||
fprintf(stderr, "connection closed\n");
|
fprintf(stderr, "connection closed\n");
|
||||||
*ret = ECONNRESET;
|
*ret = ECONNRESET;
|
||||||
kill(0, SIGTERM);
|
send_sigint();
|
||||||
}
|
}
|
||||||
|
|
||||||
static int monitor_sas(vici_conn_t *conn)
|
static int monitor_sas(vici_conn_t *conn)
|
||||||
|
|||||||
Reference in New Issue
Block a user