Browse Source

give a suitable message if attempting to unload a non-internal client

tags/0.124.0
Paul Davis 11 years ago
parent
commit
16709a904f
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      ipunload.c

+ 3
- 1
ipunload.c View File

@@ -60,7 +60,9 @@ main (int argc, char *argv[])
/* now, unload the internal client */
status = jack_internal_client_unload (client, intclient);
if (status & JackFailure) {
if (status & JackNoSuchClient) {
if (status & JackInvalidOption) {
fprintf (stderr, "I'm sorry Dave, I can't do that\n");
} else if (status & JackNoSuchClient) {
fprintf (stderr, "client %s is gone.\n",
client_name);
} else {


Loading…
Cancel
Save