diff --git a/src/swanctl/commands/list_sas.c b/src/swanctl/commands/list_sas.c index 6989533ab..a4d794c3f 100755 --- a/src/swanctl/commands/list_sas.c +++ b/src/swanctl/commands/list_sas.c @@ -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)