diff --git a/simple_client.c b/simple_client.c index 79ca4fa..e40356a 100644 --- a/simple_client.c +++ b/simple_client.c @@ -133,6 +133,7 @@ main (int argc, char *argv[]) if (jack_connect (client, ports[0], jack_port_name (input_port))) { fprintf (stderr, "cannot connect input ports\n"); + exit (1); } free (ports); @@ -160,5 +161,5 @@ main (int argc, char *argv[]) */ jack_client_close (client); - exit (0); + return 0; }